Open Bug 1419640 Opened 7 years ago Updated 2 years ago

Bad cert error message displays `<a id="errorCode" …` instead of an actual link

Categories

(DevTools :: Console, enhancement, P3)

57 Branch
x86_64
Linux
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: exched, Unassigned)

Details

(Whiteboard: [specification][type:bug])

Attachments

(1 file)

What did you do?
================
Just an issue.
I opened a page, containing an iframe, referring to an https:// site, that has no valid cert.

What happened?
==============
1. a page has an iframe, that refers to a https:// site.
2. if the referred site has a self-signed cert, the browser log show an error.
3. Also it shows (exactly with tags:)
"Код ошибки: <a id="errorCode" title="SEC_ERROR_UNKNOWN_ISSUER">SEC_ERROR_UNKNOWN_ISSUER</a>"

What should have happened?
==========================
HTML Tags hadn't to be shown:
"Код ошибки: SEC_ERROR_UNKNOWN_ISSUER"

SEC_ERROR_UNKNOWN_ISSUER should be a link.


Is there anything else we should know?
======================================
What Firefox release is this?
Component: General → Untriaged
Flags: needinfo?(exched)
Product: Mozilla Developer Network → Firefox
Sorry, I forgot to include this data:
FF: Firefox 57 Stable release
OS: Linux x64
Flags: needinfo?(exched)
OS: Other → Linux
Hardware: All → x86_64
Version: unspecified → 57 Branch
Component: Untriaged → Developer Tools: Console
Product: Firefox → DevTools
I can't know for sure, but it looks like this originate from https://searchfox.org/mozilla-central/rev/1193ef6a61cb6e350460eb2e8468184d3cb0321d/browser/modules/NetErrorContent.jsm#255-258 ?

Also, could you point to a page where I can see this message ?
Priority: -- → P3
Summary: Console.log shows HTML tags on bad cert → Bad cert error message displays `<a id="errorCode" …` instead of an actual link
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: