RESOLVED DUPLICATE of bug 8069 284460
Content Disposition filename not used when saving inline content
https://bugs.webkit.org/show_bug.cgi?id=284460
Summary Content Disposition filename not used when saving inline content
Derk-Jan Hartman
Reported 2024-12-11 06:23:30 PST
Take this url: https://commons.wikimedia.org/w/api.php?action=timedtext&format=json&title=File:Folgers.ogv&trackformat=vtt&lang=en&formatversion=2 It's response headers include: content-disposition: inline; filename=Folgers.ogv.en.srt.vtt After opening the url in the browser, choose Save from the File menu. On Firefox and Chrome, the suggested filename is Folgers.ogv.en.srt.vtt On Safari it is api.php I verified that changing quoting, or switching to filename*= makes no difference to Safari. While a suggested filename is more common for downloads (attachment), as far as I can tell from the spec, it is allowed for inline content just the same.
Attachments
Alexey Proskuryakov
Comment 1 2024-12-12 14:20:18 PST
*** This bug has been marked as a duplicate of bug 8069 ***
Note You need to log in before you can comment on or make changes to this bug.