comparison src/http/ngx_http_script.c @ 444:33394d1255b0 NGINX_0_7_34

nginx 0.7.34 *) Feature: the "off" parameter of the "if_modified_since" directive. *) Feature: now nginx sends an HELO/EHLO command after a XCLIENT command. Thanks to Maxim Dounin. *) Feature: Microsoft specific "AUTH LOGIN with User Name" mode support in mail proxy server. Thanks to Maxim Dounin. *) Bugfix: in a redirect rewrite directive original arguments were concatenated with new arguments by an "?" rather than an "&"; the bug had appeared in 0.1.18. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built on AIX.
author Igor Sysoev <http://sysoev.ru>
date Tue, 10 Feb 2009 00:00:00 +0300
parents dac47e9ef0d5
children ca8f7f6cab16
comparison
equal deleted inserted replaced
443:28335b730750 444:33394d1255b0
242 continue; 242 continue;
243 } 243 }
244 244
245 name.data = &sc->source->data[i]; 245 name.data = &sc->source->data[i];
246 246
247 while (i < sc->source->len 247 while (i < sc->source->len) {
248 && sc->source->data[i] != '$' 248
249 && !(sc->source->data[i] == '?' && sc->compile_args)) 249 if (sc->source->data[i] == '$') {
250 { 250 break;
251 }
252
253 if (sc->source->data[i] == '?') {
254
255 sc->args = 1;
256
257 if (sc->compile_args) {
258 break;
259 }
260 }
261
251 i++; 262 i++;
252 name.len++; 263 name.len++;
253 } 264 }
254 265
255 sc->size += name.len; 266 sc->size += name.len;