]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix protocol names in AnyP::PortCfg after http_port_list revamp in r12121.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 23 May 2012 23:23:12 +0000 (17:23 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 23 May 2012 23:23:12 +0000 (17:23 -0600)
commit119074777018c26f2466a63d4645f2206b69f8e8
treef9f2bc56959f77bcb7f696576897f4df5b9476ee
parentdaa1b1a78f9761ca866ea14edd7f65473e120af2
Fix protocol names in AnyP::PortCfg after http_port_list revamp in r12121.

The bug manifests itself when the URIs of intercepted requests are rewritten
into "https_port://..." strings, resulting in "Invalid port '0'" errors in
urlParse followed by HTTP 400 (Bad Request) rejection.

There are other, more subtle cases where wrong PortCfg protocol matters.
src/cache_cf.cc