Bug#1019418: apache2: Content-Location header doesn't escape colons
Package: apache2
Version: 2.4.54-1~deb11u1
Severity: normal
Dear Maintainer,
We have an apache2 server that serves URLs of the form:
https://server.com/a/b/foo:phd.html
The Content-Location HTTP response header returned is then
Content-Location: foo:phd.html
which is invalid because of the colon. It should return
Content-Location: ./foo:phd.html
so that the : is not treated as a protocol delimiter.
-- Package-specific info:
-- System Information:
Debian Release: 11.4
APT prefers stable
APT policy: (1002, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-13-amd64 (SMP w/32 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apache2 depends on:
ii apache2-bin 2.4.54-1~deb11u1
ii apache2-data 2.4.54-1~deb11u1
ii apache2-utils 2.4.54-1~deb11u1
ii dpkg 1.20.11
ii init-system-helpers 1.60
ii lsb-base 11.1.0
ii mime-support 3.66
ii perl 5.32.1-4+deb11u2
ii procps 2:3.3.17-5
Versions of packages apache2 recommends:
ii ssl-cert 1.1.0+nmu1
Versions of packages apache2 suggests:
pn apache2-doc <none>
pn apache2-suexec-pristine | apache2-suexec-custom <none>
pn www-browser <none>
Versions of packages apache2-bin depends on:
ii libapr1 1.7.0-6+deb11u1
ii libaprutil1 1.6.1-5
ii libaprutil1-dbd-sqlite3 1.6.1-5
ii libaprutil1-ldap 1.6.1-5
ii libbrotli1 1.0.9-2+b2
ii libc6 2.31-13+deb11u3
ii libcrypt1 1:4.4.18-4
ii libcurl4 7.74.0-1.3+deb11u1
ii libjansson4 2.13.1-1.1
ii libldap-2.4-2 2.4.57+dfsg-3+deb11u1
ii liblua5.3-0 5.3.3-1.1+b1
ii libnghttp2-14 1.43.0-1
ii libpcre3 2:8.39-13
ii libssl1.1 1.1.1n-0+deb11u3
ii libxml2 2.9.10+dfsg-6.7+deb11u2
ii perl 5.32.1-4+deb11u2
ii zlib1g 1:1.2.11.dfsg-2+deb11u1
Versions of packages apache2-bin suggests:
pn apache2-doc <none>
pn apache2-suexec-pristine | apache2-suexec-custom <none>
pn www-browser <none>
Versions of packages apache2 is related to:
ii apache2 2.4.54-1~deb11u1
ii apache2-bin 2.4.54-1~deb11u1
-- no debconf information
Reply to: