comparison src/http/ngx_http_script.c @ 1593:bef67c6abbe7

unescape SSI include
author Igor Sysoev <igor@sysoev.ru>
date Mon, 22 Oct 2007 10:19:17 +0000
parents 4c43e25d11ea
children c42431762903
comparison
equal deleted inserted replaced
1592:128ea9efb824 1593:bef67c6abbe7
748 if (code->redirect) { 748 if (code->redirect) {
749 749
750 dst = e->buf.data; 750 dst = e->buf.data;
751 src = e->buf.data; 751 src = e->buf.data;
752 752
753 ngx_unescape_uri(&dst, &src, e->pos - e->buf.data, NGX_UNESCAPE_URI); 753 ngx_unescape_uri(&dst, &src, e->pos - e->buf.data,
754 NGX_UNESCAPE_REDIRECT);
754 755
755 if (src < e->pos) { 756 if (src < e->pos) {
756 dst = ngx_copy(dst, src, e->pos - src); 757 dst = ngx_copy(dst, src, e->pos - src);
757 } 758 }
758 759