Preventig url encode optional parameter

Hello,

I’m using Grafana behind a nginx proxy. I add additional arguments in the Grafana urls that I call in order to have a seamless connection for the user in my web app. I process these arguments at the Proxy level. However Grafana url encodes these parameters so they become unusable.

Example:
I call this url: http://localhost/grafana/d/Ek9S8dnZk/mydb?OrgId=1&user=eyJrIjoisiLCJuIjoiYWRtaW4iLCpZCI6MX0=

Unfortunately this url becomes
http://localhost/grafana/d/Ek9S8dnZk/mydb?OrgID=1&user=eyJrIjoisiLCJuIjoiYWRtaW4iLCpZCI6MX0%3D&refresh=5s

With the “=” which becomes “%3D”

What can I do ?
Thank you in advance for your answer

Rudy Zanotti