Klaus Demo nginx / 9786016
fix /?new=arg?old=arg redirect case Igor Sysoev 13 years ago
1 changed file(s) with 15 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
243243
244244 name.data = &sc->source->data[i];
245245
246 while (i < sc->source->len
247 && sc->source->data[i] != '$'
248 && !(sc->source->data[i] == '?' && sc->compile_args))
249 {
246 while (i < sc->source->len) {
247
248 if (sc->source->data[i] == '$') {
249 break;
250 }
251
252 if (sc->source->data[i] == '?') {
253
254 sc->args = 1;
255
256 if (sc->compile_args) {
257 break;
258 }
259 }
260
250261 i++;
251262 name.len++;
252263 }