Debian Patches

Status for squid/7.2-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Default-configuration-file-for-debian.patch Default configuration file for debian Amos Jeffries <amosjeffries@squid-cache.org> not-needed 2023-06-19
0002-Change-default-file-locations-for-debian.patch Change default file locations for debian Luigi Gangitano <luigi@debian.org> not-needed 2023-06-19
0005-Use-RuntimeDirectory-to-create-run-squid.patch Use RuntimeDirectory to create /run/squid
Instead of installing the /run/squid directory, which goes against
Debian Policy, we instruct systemd to automatically create it for us
when the service is started.
Sergio Durigan Junior <sergiodj@debian.org> no 2020-05-11
0006-upstream-807ae4df2164defbb5f59b99282e24010b4a0b85.patch Check mishandles cases where the listening port hostname does not match the request-target hostname.=================================================================== Amos Jeffries <amosjeffries@squid-cache.org> not-needed 2025-07-11
0008-upstream-ab5cf0c36b538627c82b3989d6c87d1668c7e081.patch Fix ERR_INVALID_URL for CONNECT host with leading digit Squid 7.2 commit b8337359 added validation of host names
following RFC 1035 requirements. But those requirements were
outdated by RFC 1123:

One aspect of host name syntax is hereby changed: the
restriction on the first character is relaxed to allow either a
letter or a digit. Host software MUST support this more liberal
syntax.

The commit treated CONNECT host names that start with a decimal digit
as invalid IPv4 addresses and rejected the corresponding requests,
resulting in HTTP 404 errors. Undo that change.

We have considered preserving code that detects valid IPv4 addresses (as
opposed to treating all non-IPv6 input as an "IPv4 address or reg-name"
without disambiguating the two cases) because its pieces may be reused,
but that essentially unused code has non-trivial performance penalty and
final code may look quite different after we complete our "non-CONNECT
uri-host parsing code" migration TODO. Polished source code comments
aside, this change reverts 2025 commit b8337359 and restores 2023
AnyP::Uri::parseHost() implementation (commit 963ff143).
Alex Rousskov <rousskov@measurement-factory.com> no upstream

All known versions for source package 'squid'

Links