Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Firefox wrongly opens as pdf a ".pdf.sig" file (double extension)

  • 2 trả lời
  • 1 gặp vấn đề này
  • 8 lượt xem
  • Trả lời mới nhất được viết bởi parasp

more options

I was trying to download a PGP signature for a .pdf file "filename.pdf.sig" but Firefox kept trying to open it and render it as PDF instead of downloading it. Under Settings > Applications there's nothing for the ".sig" extension.

I was trying to download a PGP signature for a .pdf file "filename.pdf.sig" but Firefox kept trying to open it and render it as PDF instead of downloading it. Under Settings > Applications there's nothing for the ".sig" extension.

Tất cả các câu trả lời (2)

more options

If you provide the link or a similar one because you may not want to share it, we have more info. Chances are the website does not use the proper MIME type that Firefox relies on, unlike other browsers (that may be more susceptible to any tricks because of this.

Additionally, you could quickly set up another profile to see what happens there, or have a look at the Applications panel - Set how Firefox handles different types of files and Manage file types and download actions in Firefox support articles. Look at the section that describes to remove the handlers.json file to reset the defaults in case that file is damaged. Then again, a new (test) profile will quickly indicate whether or not the issue is related to the website, or perhaps even your Linux distribution, its settings or additional (pgp) software?

more options

Added

AddType application/octet-stream .sig AddType application/octet-stream .pdf.sig

to my .htaccess and the issue seems resolved. Not sure if FF still needs fixing though.

Được chỉnh sửa bởi parasp vào