]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
* We need to check for (!scheme && (u = strchr(url, ':')) && (u - url) > 14)
authorRuediger Pluem <rpluem@apache.org>
Tue, 2 Feb 2021 19:50:14 +0000 (19:50 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 2 Feb 2021 19:50:14 +0000 (19:50 +0000)
commit8b4d4ab2edae58ca02490d50f6488185fa68d914
treeeb4831a6cb07d224f40fa606ed1ecbc08d344f71
parentb09a823c34c8667ea879358f29efc00d2cf98e63
* We need to check for (!scheme && (u = strchr(url, ':')) && (u - url) > 14)
  later as (!scheme || u[0] != '/' || u[1] != '/' || u[2] == '\0') is true
  for requests with the CONNECT method which we need to decline. But in many
  cases requests with the CONNECT method have (u - url) > 14 as in this
  case (u - url) is the length of the FQDN the forward proxy should connect
  to.

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