Closed Bug 1757125 Opened 3 years ago Closed 3 years ago

Viewing local pdf files using file:// protocol shows insecure padlock in address bar

Categories

(Firefox :: PDF Viewer, enhancement)

Firefox 97
Desktop
All
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1699658
Tracking Status
firefox-esr91 --- wontfix
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- fixed

People

(Reporter: matthew.zh.shen, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

Open locally downloaded PDF in Firefox

Actual results:

Shows padlock for insecure connections

Expected results:

Show file icon similar to images or accessing localhost

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → PDF Viewer

I'm not sure why pdf viewer considers localfile as unsecure connection, but what's certain is that this is not a recent regression. For comparison, opening a local saved xml in Firefox would properly show file padlock and not the insecure one.

Environment:
Windows 10, Mac 11 using:

  • 91.6.0esr 2022-01-31
  • 92.0a1 2021-07-12
  • 97.0
  • 98.0b9
  • 99.0a1 2022-02-28

Note:
I'm not sure if PDF viewer is the best component for this issue, but given it's just reproducible with the PDF viewer and that might be a reason for which we're displaying the insecure padlock, I'll leave it be as an enhancement for the time being.

Severity: -- → N/A
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: