comparison src/http/ngx_http_script.c @ 601:77f77f53214a release-0.3.22

nginx-0.3.22-RELEASE import *) Feature: the ngx_http_perl_module supports the $r->args and $r->unescape methods. *) Feature: the method $r->query_string of ngx_http_perl_module was canceled. *) Bugfix: segmentation fault was occurred if the "none" or "blocked" values was specified in the "valid_referers" directive; the bug had appeared in 0.3.18.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Jan 2006 20:04:32 +0000
parents 4d9ea73a627a
children 0216fd1471f3
comparison
equal deleted inserted replaced
600:2d3a5a03e738 601:77f77f53214a
680 if (code->redirect) { 680 if (code->redirect) {
681 681
682 dst = e->buf.data; 682 dst = e->buf.data;
683 src = e->buf.data; 683 src = e->buf.data;
684 684
685 ngx_unescape_uri(&dst, &src, e->pos - e->buf.data); 685 ngx_unescape_uri(&dst, &src, e->pos - e->buf.data, NGX_UNESCAPE_URI);
686 686
687 if (src < e->pos) { 687 if (src < e->pos) {
688 dst = ngx_copy(dst, src, e->pos - src); 688 dst = ngx_copy(dst, src, e->pos - src);
689 } 689 }
690 690