Bug 355468 - Changes List shows HTTP response headers and raw HTML
Summary: Changes List shows HTTP response headers and raw HTML
Status: RESOLVED UNMAINTAINED
Alias: None
Product: muon
Classification: Unmaintained
Component: muon (other bugs)
Version First Reported In: 2.2.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-17 06:22 UTC by kdebugs
Modified: 2024-09-23 18:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs 2015-11-17 06:22:18 UTC
I don't know how the software is put together, so if this belongs to another component or product, please reassign it, but both the fetching and the display is mediated via muon.

See also related Bug 295108, but it does not just affect PPA packages.  Also, it's not merely with 404 response codes;  the response code is often 200 OK even if the message says 404.  I will provide two examples below.

apport: 200 OK HTTP response with 404 in the HTML
-------------------------------------------------------------------------
ver: Apache
Vary: Accept-Encoding
Content-Length: 267
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /changelogs/pool/universe/a/apport/apport_2.14.1-0ubuntu3.19/changelog was not found on this server.</p>
</body></html>
HTTP/1.1 200 OK
Date: Tue, 17 Nov 2015 04:45:33 GMT
Server: Apache
Last-Modified: Mon, 09 Nov 2015 17:49:09 GMT
ETag: "23a5c8c-61617-5241f35d7450d"
Accept-Ranges: bytes
Content-Length: 398871
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/plain; charset=utf-8

apport (2.14.1-0ubuntu3.19) trusty-proposed; urgency=medium

  * apport/ui.py: set "_MarkForUpload" field to False for cases where the
    apport report is damaged, about a not installed package, or when an
    error occurred processing the report. (LP: #1512902)

 -- Brian Murray <brian@ubuntu.com>  Fri, 06 Nov 2015 07:14:08 -0800
-------------------------------------------------------------------------
[previous changes clipped]

akonadi-server: 404 HTTP code and 404 in response
-------------------------------------------------------------------------
ver: Apache
Vary: Accept-Encoding
Content-Length: 262
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /changelogs/pool/main/a/akonadi/akonadi_1.13.0-0ubuntu3/changelog was not found on this server.</p>
</body></html>
HTTP/1.1 404 Not Found
Date: Tue, 17 Nov 2015 05:00:54 GMT
Server: Apache
Vary: Accept-Encoding
Content-Length: 262
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /changelogs/pool/main/a/akonadi/akonadi_1.13.0-0ubuntu3/changelog was not found on this server.</p>
</body></html>
-------------------------------------------------------------------------

Reproducible: Sometimes

Steps to Reproduce:
1. Click on a package
2. Click "Changes List"

It doesn't happen every time, but it happens with a fair number - for example just working through my list of installed packages in alphabetical order yielded these right off:
akonadi-server
apport
apport-symptoms
ark
baloo4
...
And this was the first few from not-installed packages:
account-plugin-icons
account-plugin-identica
account-plugin-mxit
account-plugin-sina
account-plugin-tools
account-plugin-zephyr
accountservice-ubuntu-touch-schemas
acpitail
...

Actual Results:  
If you click off and back on it, it might then immediately say:
  The list of changes is not yet available. Please use Launchpad instead.
But sometimes it tries multiple times to fetch the changes and ends up displaying garbage each time.

Expected Results:  
I don't care if it tries again or doesn't, but it should reliably display that "not ... available" message all the time rather than displaying unsanitized HTTP/HTML garbage.
Comment 1 Justin Zobel 2021-03-10 00:10:56 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Justin Zobel 2021-03-10 00:12:26 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 Christoph Cullmann 2024-09-23 18:22:15 UTC
Muon is no longer maintained, please switch no a supported alternative like https://apps.kde.org/discover/ or the package manager native no your system.

Sorry for the inconvenience.