Bug#931831: cups: http://localhost:631/ is served with HTTP Content-Type: text/plain
Package: cups Followup-For: Bug #931831 X-Debbugs-Cc: witold.bary...@gmail.com Dear Maintainer, This looks fixed to me. Thanks!
Bug#931831: cups: http://localhost:631/ is served with HTTP Content-Type: text/plain
tags 931831 moreinfo thanks On Thu 11 Jul 2019 at 05:30:32 +, Witold Baryluk wrote: > Package: cups > Version: 2.2.10-6 > Severity: important > > > $ curl -v http://localhost:631/ > ... > > GET / HTTP/1.1 > > Host: localhost:631 > > User-Agent: curl/7.64.0 > > Accept: */* > > > < HTTP/1.1 200 OK > < Connection: Keep-Alive > < Content-Language: en_US > < Content-Length: 2364 > < Content-Type: text/plain > < Date: Thu, 11 Jul 2019 05:27:25 GMT > < Keep-Alive: timeout=10 > < Last-Modified: Tue, 23 Apr 2019 06:33:01 GMT > < Accept-Encoding: gzip, deflate, identity > < Server: CUPS/2.2 IPP/2.1 > < X-Frame-Options: DENY > < Content-Security-Policy: frame-ancestors 'none' > < > > > > > > > > > > Home - CUPS 2.2.10 > > > > ... > > > Obviously this is not correct. > > CUPS should serve it as Content-Type: text/html > > Firefox and Chromium display the served data as raw text, making web > interface unusable. Thank you for both your reports, Witold. With cups 2.3.3op2-6 and 2.3.3op2-7 (the present unstable version) I get: brian@desktop:~$ curl -sSi http://localhost:631/ | grep ^Content-Type Content-Type: text/html; charset=utf-8 brian@desktop:~$ Please would you test with either of these versions. Regards, Brian.
Bug#931831: cups: http://localhost:631/ is served with HTTP Content-Type: text/plain
Package: cups Version: 2.3.3-1 Followup-For: Bug #931831 Dear Maintainer, I discovered that it is a recent regression. The Content-Type is correct with package version cups 2.3.0-5, but it is incorrect in package version cups 2.3.3-1. -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cups depends on: ii cups-client2.3.3-1 ii cups-common2.3.3-1 ii cups-core-drivers 2.3.3-1 ii cups-daemon2.3.3-1 ii cups-filters 1.25.11-1 ii cups-ppdc 2.3.0-5 ii cups-server-common 2.3.3-1 ii debconf [debconf-2.0] 1.5.73 ii ghostscript9.27~dfsg-3.1 ii libavahi-client3 0.7-4+b1 ii libavahi-common3 0.7-4+b1 ii libc6 2.29-2 ii libcups2 2.3.3-1 ii libgcc-s1 10.1.0-1 ii libstdc++6 9.2.1-8 ii libusb-1.0-0 2:1.0.23-1 ii poppler-utils 0.71.0-6 ii procps 2:3.3.15-2+b1 Versions of packages cups recommends: ii avahi-daemon 0.7-4+b1 ii colord1.4.3-4 Versions of packages cups suggests: ii cups-bsd 2.3.3-1 pn cups-pdf ii foomatic-db 20190913-1 pn smbclient ii udev 242-7 -- debconf information: cupsys/backend: lpd, socket, usb, snmp, dnssd cupsys/raw-print: true
Bug#931831: cups: http://localhost:631/ is served with HTTP Content-Type: text/plain
Package: cups Followup-For: Bug #931831 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'm not seeing this with 2.3.0-5: $ curl -sSi http://localhost:631/ | grep ^Content-Type Content-Type: text/html; charset=utf-8 - -- System Information: Debian Release: 10.1 APT prefers stable-updates APT policy: (550, 'stable-updates'), (550, 'stable-debug'), (550, 'stable'), (530, 'testing-debug'), (530, 'testing'), (520, 'unstable-debug'), (520, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: arm64 Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cups depends on: ii cups-client2.3.0-5 ii cups-common2.3.0-5 ii cups-core-drivers 2.3.0-5 ii cups-daemon2.3.0-5 ii cups-filters 1.21.6-5 ii cups-ppdc 2.3.0-5 ii cups-server-common 2.3.0-5 ii debconf [debconf-2.0] 1.5.71 ii ghostscript9.27~dfsg-2+deb10u2 ii libavahi-client3 0.7-4+b1 ii libavahi-common3 0.7-4+b1 ii libc6 2.29-2 ii libcups2 2.3.0-5 ii libgcc11:8.3.0-6 ii libstdc++6 8.3.0-6 ii libusb-1.0-0 2:1.0.22-2 ii poppler-utils 0.71.0-5 ii procps 2:3.3.15-2 Versions of packages cups recommends: ii avahi-daemon 0.7-4+b1 ii colord 1.4.3-4 ii cups-filters [ghostscript-cups] 1.21.6-5 pn printer-driver-gutenprint Versions of packages cups suggests: pn cups-bsd pn cups-pdf pn foomatic-db-compressed-ppds | foomatic-db pn hplip pn printer-driver-hpcups ii smbclient 2:4.11.1+dfsg-1 ii udev 241-7~deb10u1 - -- debconf information excluded -BEGIN PGP SIGNATURE- iQJGBAEBCAAwFiEEyqqqGsppqDqJKxhV0gtCAlzaJ7kFAl20NZcSHHNhbUByb2Jv dHMub3JnLnVrAAoJENILQgJc2ie5hLcP/iv2tgApjnr7YzxeWjlq8IxWW1Ez09Vg l1iqc7ZeuJwEhosqli7nInriyP7wRH0U9vXM+YyVFYC8FJqlK85lNGu8Kf9C79Mz 19+m7LZgSsr5UxVqlPLT1JoISZn2OUJww6/+9gx1DwyALcOGk0eBnQqia+nyvk+f lyAamjsRjJrIUfHxjlmc5EZaER6uWuDyabA7jiWDO03pacaWem2qkGyz5tjJMe86 1ATBa2uHqqtD9CvIHcXuv1LzHLq80vktuLpqoPWw5k1xLRx9tV4UwSUr0LZxBBoD LHYf+bOAs/bIHUTdC9wIHO+iYIX92pARw/n1Eqxq7gRQp57o2tA89+8fKS6fO18k M4uJK8sWz0rtW7yKDPtH6Claae5yvmi0LsvsQn9nPNkMnOeTkidy3eeZ5xVceU07 Z9FCijs3dxwOC6LFLOJI010aQrA/+C57rAXTfySrvyHStKSXHQTFPYQfETzjAQAc iLBONtZT4HhzfJgZsmaWyb0FMhCIe3J/02+K/duCGXTqBEkPevBRVTWwv4sWrpZb Y4JatM5yesZ14R+jCcSvw9Dd0OmVyu+pqJhiGoHoPe2O6cqBa0YI/q9rEtZnkdEu WzJ2I5wyzivaRwA3J1j1p3PlPlb8JzTk2N81cnryw4u0ednzJO6n93ZgbI94+Ql4 nkLpOQ8pOd2n =09Sj -END PGP SIGNATURE-
Bug#931831: cups: http://localhost:631/ is served with HTTP Content-Type: text/plain
Package: cups Version: 2.2.10-6 Severity: important $ curl -v http://localhost:631/ ... > GET / HTTP/1.1 > Host: localhost:631 > User-Agent: curl/7.64.0 > Accept: */* > < HTTP/1.1 200 OK < Connection: Keep-Alive < Content-Language: en_US < Content-Length: 2364 < Content-Type: text/plain < Date: Thu, 11 Jul 2019 05:27:25 GMT < Keep-Alive: timeout=10 < Last-Modified: Tue, 23 Apr 2019 06:33:01 GMT < Accept-Encoding: gzip, deflate, identity < Server: CUPS/2.2 IPP/2.1 < X-Frame-Options: DENY < Content-Security-Policy: frame-ancestors 'none' < Home - CUPS 2.2.10 ... Obviously this is not correct. CUPS should serve it as Content-Type: text/html Firefox and Chromium display the served data as raw text, making web interface unusable. -- System Information: Debian Release: 10.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/32 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cups depends on: ii cups-client2.2.10-6 ii cups-common2.2.10-6 ii cups-core-drivers 2.2.10-6 ii cups-daemon2.2.10-6 ii cups-filters 1.21.6-5 ii cups-ppdc 2.2.10-6 ii cups-server-common 2.2.10-6 ii debconf [debconf-2.0] 1.5.71 ii ghostscript9.27~dfsg-2 ii libavahi-client3 0.7-4+b1 ii libavahi-common3 0.7-4+b1 ii libc6 2.28-10 ii libcups2 2.2.10-6 ii libcupsimage2 2.2.10-6 ii libgcc11:8.3.0-6 ii libstdc++6 8.3.0-6 ii libusb-1.0-0 2:1.0.22-2 ii poppler-utils 0.71.0-5 ii procps 2:3.3.15-2 Versions of packages cups recommends: ii avahi-daemon 0.7-4+b1 ii colord 1.4.3-4 ii cups-filters [ghostscript-cups] 1.21.6-5 ii printer-driver-gutenprint5.3.1-7 Versions of packages cups suggests: ii cups-bsd 2.2.10-6 pn cups-pdf ii foomatic-db20181217-2 pn hplip ii printer-driver-hpcups 3.18.12+dfsg0-2 pn smbclient ii udev 241-5 -- debconf information excluded