Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/http/ngx_http_script.c Mon Jan 16 14:56:53 2006 +0000 +++ b/src/http/ngx_http_script.c Tue Jan 17 20:04:32 2006 +0000 @@ -682,7 +682,7 @@ 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);