App Proxy deforming original url query params

Shopify Partner
34 1 33

We're experiencing an issue where query params in urls that go through Shopify App Proxy are being deformed as they pass through the proxy.


For example this app proxy link which includes a query param with 2 escaped chars ("+", "=):



Gets transformed to this url when it hits the backend after the proxy:


notice that the "+" character (%2B) has been decoded while the "=" (%3D) remains encoded as it should be.

The result is that the backend receives the following value for the param after decoding which is incorrect (space added where the "+" was)


The non-Shopify query params should simply pass through the proxy as is.

Anyone encounter something like this? any suggested workarounds?

Replies 3 (3)

Shopify Partner
34 1 33

To add some more info: this issue started happening somewhere around Nov 1st.

Beforehand, all url query params were passed on correctly. Starting  Nov 1st, they are malformed.

Probably was some breaking change in the App Proxy forwarding

Shopify Partner
6 0 0

Yes we are noticing the same issue with the query parameters - In our case its an email address this is the param being passed but when our server receives the request
we get the following - Can someone from the shopify app proxy team look into this.

Shopify Partner
34 1 33

Hey @sakshigupta,


I got the following reply from the Shopify team. 

I have no idea if/when they intend to revert this change in the proxy behavior.


The issue seems to stem from an update we recently pushed to enhance App Proxy request security.

If you want to ensure that the "+"/"=" characters are sent to your proxy endpoint intact we would need it to look like below (+ character used in the example):
%25 encodes % and when decoded we’re left with test=Alan%2BTest which is what gets sent to the proxy endpoint and should return as "test=Alan+Test".