[Bug 1400982] Re: PDF Preview in Firefox not honored for specific URL
As mentioned upstream, servers can choose not to let a browser client render a file, but force a download. That does not mean Firefox has a bug. ** Changed in: firefox (Ubuntu) Status: Triaged = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982]
Are you sure this website allows the user to open directly the PDF? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982]
On my side, I am forced to download it locally, I can't open it online (surely because the website wants to save ressources). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982]
Loic, thank you for your comment. I don't have enough knowledge one way or the other to comment to that. However, since a direct link has been provided, have you reviewed if this website allows the user to open PDFs directly (if that even applies here)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982]
Loic, thank you for your comment. Reviewing the official Mozilla documentation regarding this issue, it doesn't mention anything about how some websites force downloading a PDF file, which preempts the users choice regarding PDFs. Hence, would this article want to be updated with the information you advised to? As well, would you be able to detail what server side would force this (ex. I looked at the source of the page and noticed code xyz that infers/proves this)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982]
The URL is served as application/octet-stream and not as application/pdf. That alone would be enough to force a file save as but the site serves this file also with a content-disposition: attachment header with always forces a save as window. HTTP/1.0 200 OK Content-Type: application/octet-stream; charset=UTF-8 Cache-Control: max-age=1, must-revalidate Date: Wed, 10 Dec 2014 23:56:05 GMT Last-Modified: Wed, 04 Nov 2009 22:07:14 GMT ETag: 1257372434539 Content-Length: 3964021 content-disposition: attachment; filename=benny2008-Lodamin-NEWS.pdf X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Server: GSE Alternate-Protocol: 443:quic,p=0.02 Connection: Keep-Alive -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982]
Matthias Versen, thank you for the clarification. This is now documented in https://help.ubuntu.com/community/Firefox , and submitted for inclusion into the official Mozilla documentation as per https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different- file-types/revision/84202 . I'm perfectly fine with this not working as one would expect, as long as it's documented. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982] Re: PDF Preview in Firefox not honored for specific URL
** Changed in: firefox Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982] [NEW] PDF Preview in Firefox not honored for specific URL
Public bug reported: 1) lsb_release -rd Description:Ubuntu 14.04.1 LTS Release:14.04 2) apt-cache policy firefox firefox: Installed: 34.0+build2-0ubuntu0.14.04.1 Candidate: 34.0+build2-0ubuntu0.14.04.1 Version table: *** 34.0+build2-0ubuntu0.14.04.1 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages 100 /var/lib/dpkg/status 28.0+build2-0ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 3) What is expected to happen is when then preference in Firefox is set for PDF to Preview in Firefox, it does. 4) What happens instead is it doesn't for the following specific URL: http://marcus.granado.googlepages.com/benny2008-Lodamin-NEWS.pdf Firefox asks if I want to download it and open it with ghex. However, the preference is honored if one goes to: http://insights.ubuntu.com/wp-content/uploads/14.04_Server_brochure_screen_final.pdf?utm_source=What%E2%80%99s%20new%20in%20Ubuntu%20Server%2014.04%20LTS?utm_medium=download+linkutm_content= ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: firefox 34.0+build2-0ubuntu0.14.04.1 ProcVersionSignature: Ubuntu 3.16.0-25.33~14.04.2-generic 3.16.7 Uname: Linux 3.16.0-25-generic x86_64 AddonCompatCheckDisabled: False ApportVersion: 2.14.1-0ubuntu3.6 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: moniker2422 F pulseaudio /dev/snd/controlC0: moniker2422 F pulseaudio BuildID: 20141127111021 Channel: Unavailable CurrentDesktop: Unity Date: Tue Dec 9 21:46:17 2014 Extensions: extensions.sqlite corrupt or missing ForcedLayersAccel: False IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) InstallationDate: Installed on 2014-06-21 (171 days ago) InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417) IpRoute: default via 192.168.1.1 dev wlan0 proto static 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.9 metric 9 Locales: extensions.sqlite corrupt or missing PrefSources: prefs.js /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubu...@ubuntu.com/defaults/preferences/001ubuntu-gnome-mods.js Profiles: Profile0 (Default) - LastVersion=34.0/20141127111021 (In use) RelatedPackageVersions: icedtea-7-plugin 1.5-1ubuntu1 totem-mozilla 3.10.1-1ubuntu4 browser-plugin-vlc 2.0.6-2 RunningIncompatibleAddons: False SourcePackage: firefox Themes: extensions.sqlite corrupt or missing UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/14/2013 dmi.bios.vendor: LENOVO dmi.bios.version: 8CCN29WW(V2.03) dmi.board.asset.tag: No Asset Tag dmi.board.name: Lenovo IdeaPad S415 Touch dmi.board.vendor: LENOVO dmi.board.version: 31900058Std dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo IdeaPad S415 Touch dmi.modalias: dmi:bvnLENOVO:bvr8CCN29WW(V2.03):bd11/14/2013:svnLENOVO:pn20319:pvrLenovoIdeaPadS415Touch:rvnLENOVO:rnLenovoIdeaPadS415Touch:rvr31900058Std:cvnLENOVO:ct10:cvrLenovoIdeaPadS415Touch: dmi.product.name: 20319 dmi.product.version: Lenovo IdeaPad S415 Touch dmi.sys.vendor: LENOVO ** Affects: firefox (Ubuntu) Importance: Low Status: Triaged ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982] Re: PDF Preview in Firefox not honored for specific URL
** Bug watch added: Mozilla Bugzilla #1109420 https://bugzilla.mozilla.org/show_bug.cgi?id=1109420 ** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=1109420 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1400982] Re: PDF Preview in Firefox not honored for specific URL
Launchpad has imported 1 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1109420. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2014-12-10T04:06:12+00:00 Christopher M. Penalver wrote: User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 Build ID: 20141127111021 Steps to reproduce: 1) lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 2) apt-cache policy firefox firefox: Installed: 34.0+build2-0ubuntu0.14.04.1 Candidate: 34.0+build2-0ubuntu0.14.04.1 Version table: *** 34.0+build2-0ubuntu0.14.04.1 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages 100 /var/lib/dpkg/status 28.0+build2-0ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 3) What is expected to happen is when then preference in Firefox is set for PDF to Preview in Firefox, it does. 4) What happens instead is it doesn't for the following specific URL: http://marcus.granado.googlepages.com/benny2008-Lodamin-NEWS.pdf Firefox asks if I want to download it and open it with ghex. However, the preference is honored if one goes to: http://insights.ubuntu.com/wp-content/uploads/14.04_Server_brochure_screen_final.pdf?utm_source=What%E2%80%99s%20new%20in%20Ubuntu%20Server%2014.04%20LTS?utm_medium=download+linkutm_content= Actual results: ^ Expected results: ^ Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1400982/comments/2 ** Changed in: firefox Status: Unknown = New ** Changed in: firefox Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400982 Title: PDF Preview in Firefox not honored for specific URL To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1400982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs