aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-12-15 06:25:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-12-15 06:25:09 +0000
commit42feecbdb694e114e034f0be67d19bba4165c363 (patch)
treeaea7c9c7c12f3cfef321901ddf92846815f1b876 /src/http/ngx_http_parse.c
parent3add464b545b5dd29d07873b84f90fb77021d0c4 (diff)
downloadnginx-42feecbdb694e114e034f0be67d19bba4165c363.tar.gz
nginx-42feecbdb694e114e034f0be67d19bba4165c363.zip
nginx-0.0.1-2002-12-15-09:25:09 import
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r--src/http/ngx_http_parse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index 2b4cc72e3..7d1cc2323 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -110,7 +110,7 @@ printf("\nstate: %d, pos: %x, end: %x, char: '%c' buf: %s",
}
break;
- /* check dot after slash */
+ /* check "/." or "//" */
case sw_after_slash_in_uri:
switch (ch) {
case CR:
@@ -132,8 +132,9 @@ printf("\nstate: %d, pos: %x, end: %x, char: '%c' buf: %s",
state = sw_uri;
break;
case '/':
+#if (WIN32)
r->complex_uri = 1;
- state = sw_uri;
+#endif
break;
case '?':
r->args_start = p;