GNOME Bugzilla – Bug 786748
Fails to download attachments in bugzilla
Last modified: 2018-03-26 10:21:20 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.
Still there in 3.28.0.
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.
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).