404 error
Issue #205
invalid
Hello!
I found a small problem when using thttpsys2webserver.
(1) When the browser accesses“ http://127.0.0.1:8080/a.html?a=123 ”It's normal.
(2) When the browser accesses“ http://127.0.0.1:8080/a.html%3Fa%3D123 ”Times 404 error.
Comments (2)
-
repo owner -
repo owner - changed status to invalid
- Log in to comment
This is the normal behavior, and a question mark in the query string should not be encoded (unless you want to escape it), for instance on wikipedia
https://en.wikipedia.org/wiki/Query_string?test goes to the “Query string” article https://en.wikipedia.org/wiki/Query_string%3Ftest goes to “Query string?test” which does not exist
If doing otherwise, there would be no way to access a ressource whose name contains the '?' character.