Do not treat PATH_INFO as a complete path if it doesn't contain
authorschwarze <schwarze@openbsd.org>
Sat, 9 Jul 2016 19:44:52 +0000 (19:44 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 9 Jul 2016 19:44:52 +0000 (19:44 +0000)
commit86f4328b8fa757e0974b8dcb3348dde500f3d0a1
treea385aaa23ea765fe0f5c76abf4fb4bbed03d932c
parentb522e10e8e7c9e419a69df792dbea127b755ded5
Do not treat PATH_INFO as a complete path if it doesn't contain
a manpath.  For example, this makes http://man.openbsd.org/mandoc
work as expected.
Bug reported by tb@, reminded by Svyatoslav Mishyn.
usr.bin/mandoc/cgi.c