comparison src/http/ngx_http_script.c @ 150:50bd986c5d63 NGINX_0_3_22

nginx 0.3.22 *) 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; bug appeared in 0.3.18.
author Igor Sysoev <http://sysoev.ru>
date Tue, 17 Jan 2006 00:00:00 +0300
parents df17fbafec8f
children 1b490fc19afa
comparison
equal deleted inserted replaced
149:cec6fdbfe9da 150:50bd986c5d63
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