From addd3c8676ddd155ba7e563084331446bb23395d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 30 Oct 2006 20:36:54 +0000 Subject: treat '\' as special character in win32 only --- src/http/ngx_http_parse.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/http/ngx_http_parse.c') diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 9f0e1b472..9789db347 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -16,7 +16,11 @@ static uint32_t usual[] = { 0x7fff37d6, /* 0111 1111 1111 1111 0011 0111 1101 0110 */ /* _^]\ [ZYX WVUT SRQP ONML KJIH GFED CBA@ */ +#if (NGX_WIN32) 0xefffffff, /* 1110 1111 1111 1111 1111 1111 1111 1111 */ +#else + 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ +#endif /* ~}| {zyx wvut srqp onml kjih gfed cba` */ 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ -- cgit