Certificate Manager does not append an export file extension if the top level domain of certificate name is ".com"

RESOLVED DUPLICATE of bug 503515

Status

Core Graveyard
Security: UI
RESOLVED DUPLICATE of bug 503515
2 years ago
a year ago

People

(Reporter: magicp, Unassigned)

Tracking

unspecified

Firefox Tracking Flags

(firefox44 affected, firefox45 affected, firefox46 affected, firefox47 affected, firefox-esr38 affected, firefox-esr45 ?)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160204030229

Steps to reproduce:

1. Start any versions Firefox
2. Open "about:preferences#advanced" > Certificates
3. Click "View Certificates" button
4. Select "Servers" tab
5. Select a certificate name that the top level domain is ".com" (e.g. The USERTRUST Network > www.google.com)
6. Click "Export..." button


Actual results:

- The export file name lacks file extension. (e.g. www.google.com > www.google.com). And then if you saved it. Windows recognizes it as command file. It is dangerous.
- If file type is switched top level domain will be replaced to ".crt" (e.g. www.google.com > www.google.crt)
- In case of other top level domain, is appended file extension automatically from start. (e.g. addons.mozilla.org > addons.mozilla.org.crt)
- On Mac OS X and Linux, always lack file extension.


Expected results:

The certificate file extension is appended for export file name automatically.
(Reporter)

Updated

2 years ago
Has STR: --- → yes
status-firefox44: --- → affected
status-firefox45: --- → affected
status-firefox46: --- → affected
status-firefox47: --- → affected
status-firefox-esr38: --- → affected
status-firefox-esr45: --- → ?
Component: Untriaged → Security: UI
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All

Comment 1

2 years ago
Thanks for filing the bug. I'm already working on a patch to fix this in Bug 503515.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 503515
(Assignee)

Updated

a year ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.