comparison 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
comparison
equal deleted inserted replaced
1725:0a174d921f1e 1726:d2a12e9a34e8
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