If you try to load this URL: https://payments-alt.allizom.org/api/v1/payments/app%3A%2F%2Ffxpay.allizom.org/in-app/ It's a 404 when it shouldn't be. I turned on Django debugging temporarily and it got translated into: https://payments-alt.allizom.org/api/v1/payments/app:/fxpay.allizom.org/in-app/ Notice how app:/ should be app:// Is there something stripping double slashes? I'd *think* this is happening at the Django level because of where the decoding happens (or is that in nginx?). However, this problem is not happening for me using an nginx proxy into my Django runserver.
nginx merge_slashes is enabled by default . I disabled merge_slashes on -dev marketplace nginx configuration .  http://nginx.org/en/docs/http/ngx_http_core_module.html#merge_slashes  https://github.com/mozilla-services/svcops-puppet/commit/41873bc8df263d977d70379c30209c6fb549f357