summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-17 10:00:02 +0000
committerJonathan Kolb <jon@b0g.us>2007-07-17 10:00:02 +0000
commit650a43160c4432dc3d3e778ea5840600cacf958a (patch)
tree9b821c82c4e5bcdbcfe6bf99ff029f4c799d6e7e /src/http/ngx_http_variables.c
parent7f4fcbdaef8d52d0a390c980cb1a7fa85330fecc (diff)
downloadnginx-650a43160c4432dc3d3e778ea5840600cacf958a.tar.gz
Changes with nginx 0.6.4 17 Jul 2007v0.6.4
*) Security: the "msie_refresh" directive allowed XSS. *) Change: the "proxy_store" and "fastcgi_store" directives were changed. *) Feature: the "proxy_store_access" and "fastcgi_store_access" directives. *) Bugfix: nginx did not work on Solaris/sparc64 if it was built by Sun Studio. Thanks to Andrei Nigmatulin. *) Workaround: for Sun Studio 12. Thanks to Jiang Hong.
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r--src/http/ngx_http_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c
index 0bd6b7ec6..6316b3d58 100644
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -501,7 +501,7 @@ ngx_http_variable_request_set_size(ngx_http_request_t *r,
ssize_t s, *sp;
ngx_str_t val;
- val.len = v->len & 0xffff;
+ val.len = v->len;
val.data = v->data;
s = ngx_parse_size(&val);