diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-10-22 10:19:17 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-10-22 10:19:17 +0000 |
| commit | f0a51cfa098d25bf9af01523ff6a220e983fa717 (patch) | |
| tree | 3c5bffa71b6d5dc60cdbc2ffb9f6306fc13d56d0 /src/http/ngx_http_script.c | |
| parent | 070cf22ab45774b1f44d7eba5f6cd580998bd7b4 (diff) | |
| download | nginx-f0a51cfa098d25bf9af01523ff6a220e983fa717.tar.gz nginx-f0a51cfa098d25bf9af01523ff6a220e983fa717.tar.bz2 | |
unescape SSI include
Diffstat (limited to '')
| -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 0fa08bc87..96f618abe 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); |
