]> git.kaiwu.me - nginx.git/commit
Core: strengthen configuration syntax checker.
authorValentin Bartenev <vbart@nginx.com>
Thu, 23 May 2013 16:30:27 +0000 (20:30 +0400)
committerValentin Bartenev <vbart@nginx.com>
Thu, 23 May 2013 16:30:27 +0000 (20:30 +0400)
commitc8702948dbe97866bb6f4fadf8773f5fd5a3d374
tree594652ac7c74cc6d60cc898dbcf59ce63608c5c9
parent2c0ea0fcc854a1ba0c717fa78b03ac7faee12829
Core: strengthen configuration syntax checker.

It is now a syntax error if tokens passed to a custom configuration
handler are terminated by "{".

The following incorrect configuration is now properly rejected:

  map $v $v2 {
      a b {
      c d {
      e f {
  }
src/core/ngx_conf_file.c