From ae33d014ad64c380446d8113bc7b2de115ffa23f Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 17 Jan 2006 20:04:32 +0000 Subject: 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. --- src/http/ngx_http_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/ngx_http_script.c') diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index 4986675a9..b46c9bb35 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -682,7 +682,7 @@ ngx_http_script_regex_end_code(ngx_http_script_engine_t *e) dst = e->buf.data; src = e->buf.data; - ngx_unescape_uri(&dst, &src, e->pos - e->buf.data); + ngx_unescape_uri(&dst, &src, e->pos - e->buf.data, NGX_UNESCAPE_URI); if (src < e->pos) { dst = ngx_copy(dst, src, e->pos - src); -- cgit