The original HTTP request that happens when clicking the download button
looks like this:
GET /lib/1a5035f8-cd5d-4231-83ad-770b0ca096a3/file/Psalm23.txt?dl=1
HTTP/1.1
HTTP/1.1 302 FOUND
Location: /seafhttp/files/32a0a451-086b-4cbc-b6da-6d80f43df463/Psalm23.txt
GET /seafhttp/files/32a0a451-086b-4
And I just verified that in the WebView’s onDownloadRequested signal
handler, request.url is different in each case:
left click: http://powered.spdns.de/lib/1a5035f8-cd5d-4231-83ad-
770b0ca096a3/file/Psalm23.txt
right click to save link:
http://powered.spdns.de/lib/1a5035f8-cd5d-4231-83ad-
77
The code for the download button on the file’s preview page is as
follows:
Download
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1548020
Title:
Download hand
OK, I can reproduce the issue described in comment #6 indeed.
I’m seeing one major difference: when clicking the download button
directly, the name of the file being downloaded is "Psalm23.txt",
whereas with right-click and "save link", the file name is
"Psalm23.txt?dl=1".
That "dl=1" parameter s
Hello Oliver,
Thanks for your reply. I see, I have to make a better description of how to use
my homepage and how to force the error.
After you logged into the test account, I sent to you, you see a Library. Open
that library by clicking once to it. Then you see all files which are
currently
eDeviser: I was able to observe the issue firsthand thanks to the test
credentials provided by Lukas (thanks!).
What I’m seeing is that tapping/clicking on a text file (the only file I
have handy in the test instance) displays the contents of that file on a
page. That page has a "Download" button,
Hey Oliver,
thanks for reply. I'm sorry, I always talked about 'right click > Save As' but
I meant 'right click > Save link'.
If I used the 'right click > Save Link' option, the download finishes
successfully.
But if I do left click on that link, the download aborts with http400 error.
This beh
Not sure what you mean by "right click > Save As", there is no such
option in webbrowser-app. There is a "Save link" option, but it should
behave exactly the same as a left click for e.g. a PDF document.
Can you elaborate on what this right click thing is, and if it allows
you to successfully down
Hey Olive! I am acutally not totally shure, that the problem is within
Ubuntu Touch, because I am just a Embedded Software Developer hosting a
webserver for fun. But in seafile/Forum, they told me it is not a
problem with the seafileWebserver. They told that it is caused by the
oneTimeTokens. Never
Sounds like this is yet another limitation of the way downloads are
handled in oxide/webbrowser-app. We would need a tighter integration of
the ubuntu download manager in oxide to overcome this limitation.
Could you please confirm that the duplicated request is indeed the cause
of the problem, by
10 matches
Mail list logo