mirror of https://github.com/openresty/openresty
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
536 B
C
19 lines
536 B
C
11 years ago
|
--- src/http/ngx_http_parse.c
|
||
|
+++ src/http/ngx_http_parse.c
|
||
|
@@ -617,6 +617,7 @@ ngx_http_parse_request_line(ngx_http_req
|
||
|
default:
|
||
|
r->space_in_uri = 1;
|
||
|
state = sw_check_uri;
|
||
|
+ p--;
|
||
|
break;
|
||
|
}
|
||
|
break;
|
||
|
@@ -670,6 +671,7 @@ ngx_http_parse_request_line(ngx_http_req
|
||
|
default:
|
||
|
r->space_in_uri = 1;
|
||
|
state = sw_uri;
|
||
|
+ p--;
|
||
|
break;
|
||
|
}
|
||
|
break;
|