diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-30 20:36:54 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-30 20:36:54 +0000 |
commit | addd3c8676ddd155ba7e563084331446bb23395d (patch) | |
tree | 3486f1e4b961b1941d2978311ec9db2270ba2dfb | |
parent | 020ffea637440e4283e1be11a96ded2674fdf8a0 (diff) | |
download | nginx-addd3c8676ddd155ba7e563084331446bb23395d.tar.gz nginx-addd3c8676ddd155ba7e563084331446bb23395d.zip |
treat '\' as special character in win32 only
-rw-r--r-- | src/http/ngx_http_parse.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |