]> git.kaiwu.me - nginx.git/commit
Disabled control characters in URIs.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Jun 2021 15:01:15 +0000 (18:01 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 28 Jun 2021 15:01:15 +0000 (18:01 +0300)
commit0b66bd4be777a5b79c5ae0e7dff89fc6429da0fe
tree803480ff45b075b82aadc1dbaff377d5f7397ea2
parent05395f4889cf0b66e8d049921ad19f1a08319150
Disabled control characters in URIs.

Control characters (0x00-0x1f, 0x7f) were never allowed in URIs, and must
be percent-encoded by clients.  Further, these are not believed to appear
in practice.  On the other hand, passing such characters might make various
attacks possible or easier, despite the fact that currently allowed control
characters are not significant for HTTP request parsing.
src/http/ngx_http_parse.c