fix early loop termination in httpd path_info()
authorchrisz <chrisz@openbsd.org>
Wed, 13 Aug 2014 08:08:55 +0000 (08:08 +0000)
committerchrisz <chrisz@openbsd.org>
Wed, 13 Aug 2014 08:08:55 +0000 (08:08 +0000)
commit59346113693dde74e8d7e9d63613dc9590410604
tree97b188adcda4d4c6475a97a81bd76dc4dec3c928
parentfb0880c9fc00c51609edc1a082a3cd457a5ea25f
fix early loop termination in httpd path_info()
without this fix httpd always put at least the first
path component in SCRIPT_NAME even when it did not exist.
Now for completely non-existant paths everything goes into
PATH_INFO.
usr.sbin/httpd/httpd.c