Canonicalize the request path once without the docroot and prepend the
authorreyk <reyk@openbsd.org>
Fri, 25 Jul 2014 21:29:58 +0000 (21:29 +0000)
committerreyk <reyk@openbsd.org>
Fri, 25 Jul 2014 21:29:58 +0000 (21:29 +0000)
commitc9351fd634137b7ca5de394a6030b76ecdec07a8
tree13283dc627dbd972b2464546dcbb4f41e90d8895
parent6560be9548e74810725211e0819ce5adf41b84fe
Canonicalize the request path once without the docroot and prepend the
docroot only only when it's needed.  Suggested by deraadt@.
usr.sbin/httpd/httpd.c
usr.sbin/httpd/httpd.h
usr.sbin/httpd/server_file.c
usr.sbin/httpd/server_http.c