diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-12-12 20:56:13 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-12 20:56:13 +0000 |
| commit | c9115e73d5663dcaf9f8c4302c14a2dea51cd667 (patch) | |
| tree | 2fed39d46b25cf49c218bf029360b0c62ef9ca6f /src/http/ngx_http_script.c | |
| parent | d66b7a8a1ae71d0c4e2d767f4d06f05890169b56 (diff) | |
| download | nginx-c9115e73d5663dcaf9f8c4302c14a2dea51cd667.tar.gz nginx-c9115e73d5663dcaf9f8c4302c14a2dea51cd667.tar.bz2 | |
r1594 merge:
unescape SSI include
Diffstat (limited to 'src/http/ngx_http_script.c')
| -rw-r--r-- | src/http/ngx_http_script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index 235a5b514..a2994378a 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -750,7 +750,8 @@ ngx_http_script_regex_end_code(ngx_http_script_engine_t *e) dst = e->buf.data; src = e->buf.data; - ngx_unescape_uri(&dst, &src, e->pos - e->buf.data, NGX_UNESCAPE_URI); + ngx_unescape_uri(&dst, &src, e->pos - e->buf.data, + NGX_UNESCAPE_REDIRECT); if (src < e->pos) { dst = ngx_copy(dst, src, e->pos - src); |
