]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs. PR 69160
authorYann Ylavic <ylavic@apache.org>
Mon, 8 Jul 2024 12:35:35 +0000 (12:35 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 8 Jul 2024 12:35:35 +0000 (12:35 +0000)
commit530106b2c1be37f581e269be30a0f2665209995e
tree8ebd685b3448a83f4291344851a6c2dd14e5d7f6
parentf43499c9598a76788bc88aebaceaf7de05d804cb
mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs.  PR 69160

The hostname part of the URL is not mandated for UDS though the canon_handler
hooks will require it, so add "localhost" if it's missing (won't be used anyway
for an AF_UNIX socket).

This can trigger with SetHandler "unix:" URLs which are now also fixed up.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919015 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/pr69160.txt [new file with mode: 0644]
modules/proxy/proxy_util.c