After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786748 - Fails to download attachments in bugzilla
Fails to download attachments in bugzilla
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: Downloads
3.28.x
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-24 12:07 UTC by Milan Crha
Modified: 2018-03-26 10:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2017-08-24 12:07:59 UTC
Using epiphany-runtime-3.25.90-1.fc27.x86_64 with webkitgtk4-2.17.91-1.fc28.x86_64.

Steps:
a) open bug #339887
b) locate the "Attachments" table, I have it at the top, before bug comments
c) right-click the second attachment name, the one in bold; the URL
   it points to says:
   https://bugzilla.gnome.org/attachment.cgi?id=64373
d) choose "Save link as..." there
 * a save dialog opens, with prefilled name "attachment.cgi"
e) change the name to "eml.eml" (quotes for clarity only)
f) press Enter, to save it
 * the save fails with "Forbidden"

Repeating the same steps in Firefox shows those starred lines as:

 * a save dialog opens, with prefilled name "a.email"
 * successfully saves the attachment to a file

Thus there are actually two issues, or at least places for improvements.
Comment 1 Milan Crha 2018-03-22 09:55:58 UTC
Still there in 3.28.0.
Comment 2 Michael Catanzaro 2018-03-23 18:19:13 UTC
This fails in MiniBrowser too. Can you please move it to WebKit Bugzilla?

Thanks for taking the time to report this.
This issue is most likely a bug in WebKit. Please report the bug to https://bugs.webkit.org/ including a link to this bug report and noting the version of WebKitGTK+ that you have installed. When reporting the WebKit bug, be sure to include the prefix '[GTK]' in the bug summary and select the 'WebKit Gtk' component.
Comment 3 Milan Crha 2018-03-26 10:21:20 UTC
The "See also" contains a link to
https://bugs.webkit.org/show_bug.cgi?id=175786
which can be the same.

My wild guess is that the download thing removes the arguments for the path, thus the attachment.cgi script is run without them, thus it rejects the request, which makes sense.

The upstream bug mentions "referer", but I do not know whether you mean the same or not (while I guess 'not' is the answer).