]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3183: Invalid URL accepted with url host part of only '@'.
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Apr 2011 12:01:28 +0000 (06:01 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Apr 2011 12:01:28 +0000 (06:01 -0600)
commit089d4d2852b56f80e46491d4d11580ec23bb1fb3
tree893c5a37bf084d8ae65f29c1d030bd53f309dd65
parentd7394f0d204cfd9d7d393551a1b45e8d494aaf41
Bug 3183: Invalid URL accepted with url host part of only '@'.

3.0 results in an ICAP segfault handling these URLs.

Newer releases do not segfault as easily, but still accept the invalid
URL and there may be other unknown side-effects.

Makes the URL parser present ERR_INVALID_URL for this edge case.
src/url.cc