I have IIS 7 on Windows Server 2008, with PHP support (5.3.15)
I have noticed a difference compared to an Apache 2 environment, with the content of PHP variable
Basically, on Apache we get exactly the same content as in the requested URL, but with IIS the URL seems already partially decoded ("+" signs instead of spaces are unchanged, but
%XX characters get already decoded in
REQUEST_URI when not in query string part).
index.php/testé+teston IIS <=== I would like this to be
Note that given URL
my.server.com/index.php?param=test%E9+test (the encoded characters are in a "real" query string),
Is there some kind of server setting or web.config switch to prevent "auto-decoding" of encoded characters outside the query string?
BTW, IIS for some unknown reason, seems to decode
%XX characters as if they were in some ISO-xxx encoding, not UTF-8.