← Back to team overview

ubuntu-apps-bugs team mailing list archive

[Bug 1548020] [NEW] Download handling with OneTimeTokens

 

Public bug reported:

I'm hosting a webserver with seafile. 
When I click on the Download link direktly, then choosing the app for opening, the Download
aborts because of Http400 Error. This could be because the Download token
from the server are working just for one time. Nevertheless, if do
rightclick on the download link and select "save as", the download works
pretty fine.

I think, when clicking on such a link, a request to the server is issued, which invalidates the
link for subsequent requests. The headers from the response to that request are then passed to the download manager which will initiate the download by issuing the request again, and the first request
initiated by the browser is cancelled. That’s indeed a bug in how
downloads are handled in the browser.

If nessesary I can provide a temporary download link for testing the
issues.

This happend on my Nexus 4 with OTA9.

** Affects: webbrowser-app (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1548020

Title:
  Download handling with OneTimeTokens

Status in webbrowser-app package in Ubuntu:
  New

Bug description:
  I'm hosting a webserver with seafile. 
  When I click on the Download link direktly, then choosing the app for opening, the Download
  aborts because of Http400 Error. This could be because the Download token
  from the server are working just for one time. Nevertheless, if do
  rightclick on the download link and select "save as", the download works
  pretty fine.

  I think, when clicking on such a link, a request to the server is issued, which invalidates the
  link for subsequent requests. The headers from the response to that request are then passed to the download manager which will initiate the download by issuing the request again, and the first request
  initiated by the browser is cancelled. That’s indeed a bug in how
  downloads are handled in the browser.

  If nessesary I can provide a temporary download link for testing the
  issues.

  This happend on my Nexus 4 with OTA9.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1548020/+subscriptions