Download manager follows redirect without considering HTTP code

Bug #1384421 reported by Robert Schroll
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-download-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

For example, consider this link: http://www.gutenberg.org/ebooks/11.epub.noimages?session_id=f5e86ca4851e170ddff0965a4b0f164577932ed6 (the epub link from http://m.gutenberg.org/ebooks/11.mobile, in case that session key expires). A few 302 redirects later, it ends up at http://www.gutenberg.org/cache/epub/11/pg11.epub?session_id=f5e86ca4851e170ddff0965a4b0f164577932ed6, from where the epub file will be served (with response 200). But it also includes a redirect header back to the HTML page, for browsers. We should get the epub file and ignore this last redirect, but instead we follow it and ignore the epub file.

Changed in ubuntu-download-manager:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Manuel de la Peña (mandel)
Revision history for this message
Robert Schroll (rschroll) wrote :

Any progress on this bug?

no longer affects: ubuntu
Changed in ubuntu-download-manager (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
no longer affects: ubuntu-download-manager
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.