comparison src/mail/ngx_mail_parse.c @ 1512:b19709ee1f52 stable-0.5

r1406 merge: escape " ", "%", and %00-%1F in login and password
author Igor Sysoev <igor@sysoev.ru>
date Sat, 22 Sep 2007 19:15:01 +0000
parents 4fd0907c968e
children 59e1caf2be94 ed9cd1702f7a
comparison
equal deleted inserted replaced
1511:0c5c8ab56a44 1512:b19709ee1f52
432 goto invalid; 432 goto invalid;
433 } 433 }
434 break; 434 break;
435 435
436 case sw_argument: 436 case sw_argument:
437 if (ch == ' ' && s->quoted) {
438 break;
439 }
440
437 switch (ch) { 441 switch (ch) {
438 case '"': 442 case '"':
439 if (!s->quoted) { 443 if (!s->quoted) {
440 break; 444 break;
441 } 445 }