commit | d47c435e9e92d09db50d2224752b47a482639898 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Tue Nov 19 06:57:58 2013 +0400 |
committer | Ruslan Ermilov <ru@nginx.com> | Tue Nov 19 06:57:58 2013 +0400 |
tree | 2e06512da3f92a8fda7ac80c565d096a4a10db76 | |
parent | 1ac2693a33bb65c6b0d777584ad8024aa743ee88 [diff] |
Proper backtracking after space in a request line.
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 973bc74..cf89b8c 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c
@@ -617,6 +617,7 @@ default: r->space_in_uri = 1; state = sw_check_uri; + p--; break; } break; @@ -670,6 +671,7 @@ default: r->space_in_uri = 1; state = sw_uri; + p--; break; } break;