comparison src/core/ngx_string.c @ 3593:a79d2ad7a2d8 stable-0.7

merge r3487, r3525: rewrite fixes: *) escape ampersand in argument while rewrite *) autodetect redirect if URI is rewritten to a string starting with $scheme
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jun 2010 11:51:37 +0000
parents 6b8284fc958d
children
comparison
equal deleted inserted replaced
3592:fdd0943b277d 3593:a79d2ad7a2d8
1275 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ 1275 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */
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 }; 1278 };
1279 1279
1280 /* " ", "#", "%", "+", "?", %00-%1F, %7F-%FF */ 1280 /* " ", "#", "%", "&", "+", "?", %00-%1F, %7F-%FF */
1281 1281
1282 static uint32_t args[] = { 1282 static uint32_t args[] = {
1283 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */ 1283 0xffffffff, /* 1111 1111 1111 1111 1111 1111 1111 1111 */
1284 1284
1285 /* ?>=< ;:98 7654 3210 /.-, +*)( '&%$ #"! */ 1285 /* ?>=< ;:98 7654 3210 /.-, +*)( '&%$ #"! */
1286 0x80000829, /* 1000 0000 0000 0000 0000 1000 0010 1001 */ 1286 0x80000869, /* 1000 0000 0000 0000 0000 1000 0110 1001 */
1287 1287
1288 /* _^]\ [ZYX WVUT SRQP ONML KJIH GFED CBA@ */ 1288 /* _^]\ [ZYX WVUT SRQP ONML KJIH GFED CBA@ */
1289 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */ 1289 0x00000000, /* 0000 0000 0000 0000 0000 0000 0000 0000 */
1290 1290
1291 /* ~}| {zyx wvut srqp onml kjih gfed cba` */ 1291 /* ~}| {zyx wvut srqp onml kjih gfed cba` */