]> git.kaiwu.me - nginx.git/commitdiff
r1298 merge:
authorIgor Sysoev <igor@sysoev.ru>
Fri, 13 Jul 2007 10:48:48 +0000 (10:48 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 13 Jul 2007 10:48:48 +0000 (10:48 +0000)
"?" should not be escaped

src/core/ngx_string.c

index 7b5287f0ae8994c2aa7d5e6c706d7255394d6897..032ae4d93d07701d17c8c2b36b1bf66d383ba4d4 100644 (file)
@@ -1025,7 +1025,7 @@ ngx_escape_uri(u_char *dst, u_char *src, size_t size, ngx_uint_t type)
         0xffffffff, /* 1111 1111 1111 1111  1111 1111 1111 1111 */
 
                     /* ?>=< ;:98 7654 3210  /.-, +*)( '&%$ #"!  */
-        0x800000ad, /* 0000 0000 0000 0000  0000 0000 1010 1101 */
+        0x000000ad, /* 0000 0000 0000 0000  0000 0000 1010 1101 */
 
                     /* _^]\ [ZYX WVUT SRQP  ONML KJIH GFED CBA@ */
         0x00000000, /* 0000 0000 0000 0000  0000 0000 0000 0000 */