diff src/http/ngx_http_script.c @ 1726:d2a12e9a34e8 stable-0.5

r1594 merge: unescape SSI include
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Dec 2007 20:56:13 +0000
parents 6b81bbc36eaf
children
line wrap: on
line diff
--- 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_
         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);