comparison src/http/ngx_http_variables.c @ 320:95183808f549 NGINX_0_6_4

nginx 0.6.4 *) Security: the "msie_refresh" directive allowed XSS. Thanks to Maxim Boguk. *) 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.
author Igor Sysoev <http://sysoev.ru>
date Tue, 17 Jul 2007 00:00:00 +0400
parents cba14c1e2a4b
children d16d691432c9
comparison
equal deleted inserted replaced
319:6ccd0af7f704 320:95183808f549
499 ngx_http_variable_value_t *v, uintptr_t data) 499 ngx_http_variable_value_t *v, uintptr_t data)
500 { 500 {
501 ssize_t s, *sp; 501 ssize_t s, *sp;
502 ngx_str_t val; 502 ngx_str_t val;
503 503
504 val.len = v->len & 0xffff; 504 val.len = v->len;
505 val.data = v->data; 505 val.data = v->data;
506 506
507 s = ngx_parse_size(&val); 507 s = ngx_parse_size(&val);
508 508
509 if (s == NGX_ERROR) { 509 if (s == NGX_ERROR) {