Mercurial > hg > nginx
comparison src/core/ngx_string.c @ 3486:5d28d30ba1b1
escape ampersand in argument while rewrite
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 01 Apr 2010 12:45:59 +0000 |
parents | bfcc9be4f1c9 |
children | c3fa65192119 |
comparison
equal
deleted
inserted
replaced
3485:74d652462d73 | 3486:5d28d30ba1b1 |
---|---|
1276 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ | 1276 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ |
1277 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ | 1277 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ |
1278 0xffffffff /* 1111 1111 1111 1111 1111 1111 1111 1111 */ | 1278 0xffffffff /* 1111 1111 1111 1111 1111 1111 1111 1111 */ |
1279 }; | 1279 }; |
1280 | 1280 |
1281 /* " ", "#", "%", "+", "?", %00-%1F, %7F-%FF */ | 1281 /* " ", "#", "%", "&", "+", "?", %00-%1F, %7F-%FF */ |
1282 | 1282 |
1283 static uint32_t args[] = { | 1283 static uint32_t args[] = { |
1284 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ | 1284 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ |
1285 | 1285 |
1286 /* ?>=< ;:98 7654 3210 /.-, +*)( '&%$ #"! */ | 1286 /* ?>=< ;:98 7654 3210 /.-, +*)( '&%$ #"! */ |
1287 0x80000829, /* 1000 0000 0000 0000 0000 1000 0010 1001 */ | 1287 0x80000869, /* 1000 0000 0000 0000 0000 1000 0110 1001 */ |
1288 | 1288 |
1289 /* _^]\ [ZYX WVUT SRQP ONML KJIH GFED CBA@ */ | 1289 /* _^]\ [ZYX WVUT SRQP ONML KJIH GFED CBA@ */ |
1290 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */ | 1290 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */ |
1291 | 1291 |
1292 /* ~}| {zyx wvut srqp onml kjih gfed cba` */ | 1292 /* ~}| {zyx wvut srqp onml kjih gfed cba` */ |