We have a legacy IIS DLL that uses GetServerVariable
(MSDN) to retrieve the value of UNENCODED_URL
. When accessing the URL:
https://example.com/a%2Fb
the value retrieved will look like this:
/path/to/server.dll/a0.000000b
which is strange, because it should look like this:
/path/to/server.dll/a%2Fb
The LPEXTENSION_CONTROL_BLOCK
's value of lpszPathInfo
(MSDN) has the value:
/a/b
as expected.
Does anybody know why the UNENCODED_URL
value looks like this and how can I retrieve the correct value?