diff src/http/ngx_http_parse.c @ 26:53cb81681040

nginx-0.0.1-2002-12-15-09:25:09 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 15 Dec 2002 06:25:09 +0000
parents 77c7629a2627
children 0e81ac0bb3e2
line wrap: on
line diff
--- 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, c
             }
             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, c
                 state = sw_uri;
                 break;
             case '/':
+#if (WIN32)
                 r->complex_uri = 1;
-                state = sw_uri;
+#endif
                 break;
             case '?':
                 r->args_start = p;