aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-06-28 18:01:13 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-06-28 18:01:13 +0300
commit05395f4889cf0b66e8d049921ad19f1a08319150 (patch)
treecd8166ac14b8e8d5751abb46b9cb4d07160dc1d2 /src/http/ngx_http_request.h
parentfee09fc49d510de0078f9bc7fc18dc179cceb62b (diff)
downloadnginx-05395f4889cf0b66e8d049921ad19f1a08319150.tar.gz
nginx-05395f4889cf0b66e8d049921ad19f1a08319150.zip
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.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index fa4d5f99f..63576274e 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -468,9 +468,6 @@ struct ngx_http_request_s {
/* URI with "+" */
unsigned plus_in_uri:1;
- /* URI with " " */
- unsigned space_in_uri:1;
-
/* URI with empty path */
unsigned empty_path_in_uri:1;