diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-04-01 16:45:59 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-04-01 16:45:59 +0400 |
commit | 170a54f326ff6d49058dcc4e4b5dcf36bcbb134a (patch) | |
tree | ec87f6acfe25ce3c3c75604571b330dbede43d06 /src/core/ngx_string.c | |
parent | 5cc7eaa9de56bd74359082a078b80d2fce3f4bb3 (diff) |
escape ampersand in argument while rewrite
Diffstat (limited to 'src/core/ngx_string.c')
-rw-r--r-- | src/core/ngx_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_string.c b/src/core/ngx_string.c index 829913483..a1aeb4764 100644 --- a/src/core/ngx_string.c +++ b/src/core/ngx_string.c @@ -1278,13 +1278,13 @@ 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 */ }; - /* " ", "#", "%", "+", "?", %00-%1F, %7F-%FF */ + /* " ", "#", "%", "&", "+", "?", %00-%1F, %7F-%FF */ static uint32_t args[] = { 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ /* ?>=< ;:98 7654 3210 /.-, +*)( '&%$ #"! */ - 0x80000829, /* 1000 0000 0000 0000 0000 1000 0010 1001 */ + 0x80000869, /* 1000 0000 0000 0000 0000 1000 0110 1001 */ /* _^]\ [ZYX WVUT SRQP ONML KJIH GFED CBA@ */ 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */ |