Closed Bug 1246173 Opened 8 years ago Closed 8 years ago

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

Categories

(Core Graveyard :: Security: UI, defect)

defect
Not set
normal

Tracking

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

RESOLVED DUPLICATE of bug 503515
Tracking Status
firefox44 --- affected
firefox45 --- affected
firefox46 --- affected
firefox47 --- affected
firefox-esr38 --- affected
firefox-esr45 --- ?

People

(Reporter: magicp.jp, Unassigned)

Details

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.
Has STR: --- → yes
Component: Untriaged → Security: UI
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Thanks for filing the bug. I'm already working on a patch to fix this in Bug 503515.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.