]> git.kaiwu.me - nginx.git/commit
Disabled spaces in URIs (ticket #196).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Jun 2021 15:01:13 +0000 (18:01 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Jun 2021 15:01:13 +0000 (18:01 +0300)
commit05395f4889cf0b66e8d049921ad19f1a08319150
treecd8166ac14b8e8d5751abb46b9cb4d07160dc1d2
parentfee09fc49d510de0078f9bc7fc18dc179cceb62b
Disabled spaces in URIs (ticket #196).

From now on, requests with spaces in URIs are immediately rejected rather
than allowed.  Spaces were allowed in 31e9677b15a1 (0.8.41) to handle bad
clients.  It is believed that now this behaviour causes more harm than
good.
src/http/modules/ngx_http_proxy_module.c
src/http/ngx_http_parse.c
src/http/ngx_http_request.c
src/http/ngx_http_request.h