]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_http: follow up to r1886141, axe overlong scheme check.
authorYann Ylavic <ylavic@apache.org>
Wed, 3 Feb 2021 11:29:10 +0000 (11:29 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 3 Feb 2021 11:29:10 +0000 (11:29 +0000)
commit7b872648563c84d2f46447ce636652373095ff07
tree923c11ab62871cbeb14d90b4e31e50cba9b69ab0
parent8b4d4ab2edae58ca02490d50f6488185fa68d914
mod_proxy_http: follow up to r1886141, axe overlong scheme check.

Since mod_proxy can see CONNECT URIs, "hostname:port" versus "scheme:"
is hardly distinguishable (we don't want to limit the length of hostnames),
and we don't allocate the scheme anymore while parsing, let's simply decline
unrecognized schemes (overlong or not) and be caught by the no-handler case
if there really is no proxy handler interested.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1886151 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy_http.c