Mercurial > hg > nginx
comparison src/http/ngx_http_script.c @ 2225:207827f7bf71
escape a query string characters taken from URI while rewrite
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Sep 2008 14:43:38 +0000 |
parents | c505e2712e13 |
children | fbff569bf456 |
comparison
equal
deleted
inserted
replaced
2224:109849282793 | 2225:207827f7bf71 |
---|---|
572 ngx_http_script_start_args_code(ngx_http_script_engine_t *e) | 572 ngx_http_script_start_args_code(ngx_http_script_engine_t *e) |
573 { | 573 { |
574 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, | 574 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, |
575 "http script args"); | 575 "http script args"); |
576 | 576 |
577 e->is_args = 1; | |
577 e->args = e->pos; | 578 e->args = e->pos; |
578 e->ip += sizeof(uintptr_t); | 579 e->ip += sizeof(uintptr_t); |
579 } | 580 } |
580 | 581 |
581 | 582 |