I have a web service that accepts several filter parameters, for example:
http:
The difficulty is that sometimes some of the filter variables are missing, so URLs can be passed to this service:
http://mydomain.com/filter1//filter2//filter3/value3
Now I need to configure my nginx (or fastcgi) to save double slashes. Currently, it is replacing double slashes with single slashes. I am new to nginx and fastcgi settings and I don't know how to do this. I grabbed request_uri from my php script when I asked for a second url and I got
http:
Help me. Thanks in advance.
source
share