~ubuntu-branches/debian/squeeze/nginx/squeeze

« back to all changes in this revision

Viewing changes to src/mail/ngx_mail_parse.c

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-05-31 18:38:56 UTC
  • mfrom: (1.1.10 upstream) (4.1.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20090531183856-3xhvf6wd0bw5556i
Tags: 0.7.59-1
* New upstream release, first in Debian for the 0.7 branch. Among other
  issues, it also fixes the problem with wildcard dns names used with SSL.
  (Closes: #515904)
* debian/watch: updated.
* debian/postinst: fixed a bashism. (Closes: #507913)
* debian/conf/nginx.conf: removed default_type. (Closes: #509390)
* debian/control: updated Standards-Version to 3.8.1, no changes needed.
* debian/NEWS.Debian: documented the issues with
  server_names_hash_bucket_size. (Closes: #524785)

Show diffs side-by-side

added added

removed removed

Lines of Context:
746
746
                s->arg_end = p;
747
747
                goto done;
748
748
            default:
749
 
                if (s->args.nelts <= 2) {
 
749
                if (s->args.nelts <= 10) {
750
750
                    state = sw_argument;
751
751
                    s->arg_start = p;
752
752
                    break;
848
848
                return NGX_MAIL_AUTH_LOGIN;
849
849
            }
850
850
 
 
851
            if (s->args.nelts == 2) {
 
852
                return NGX_MAIL_AUTH_LOGIN_USERNAME;
 
853
            }
 
854
 
851
855
            return NGX_MAIL_PARSE_INVALID_COMMAND;
852
856
        }
853
857