Closed Bug 1157756 Opened 11 years ago Closed 10 years ago

"Untrusted Connection" splash page is mangled if URL contains string ".md"

Categories

(Firefox :: Security, defect)

37 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: anthony.hayward, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20150402191859 Steps to reproduce: Tried to go to a URL which contains .md I don't want to share the actual URL, but I mean something like https://iamnotmarkdown.mdnotmarkdown.bug Actual results: Mangled source code displayed on page instead of the proper Untrusted Connection page You can see the result by going to this URL in Firefox: about:certerror?e=error&u=https://iamnotmarkdown.mdnotmarkdown.bug&d=desc Garbage page begins with: Untrusted Connection // Error url MUST be formatted like this: // about:certerror?e=error&u=url&d=desc // Note that this file uses document.documentURI to get // the URL (with the format from above). This is because // document.location.href gets the current URI off the docshell, // which is the URL displayed in the location bar, i.e. // the URI that the user attempted to load. function getCSSClass() { Expected results: Untrusted Connection page displayed, with passport control guy icon and button to "Get me out of here" Correct page displayed if .md not present in URL e.g. about:certerror?e=error&u=https://iamnotmarkdown.menotmarkdown.bug&d=desc
URL: about:certerror?e=error&u=https://iam...
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Ant H, are you still seeing the same "Untrusted Connection" issue on the latest Firefox versions (Firefox 43, Nightly 46)? https://www.mozilla.org/en-US/firefox/new/ https://nightly.mozilla.org/ If yes, could you please try to reproduce using Firefox with a new profile or in safe mode? https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
I can reproduce in Firefox 43, but not in Safe Mode. In Safe Mode, the pages appear okay.
(In reply to Ant H from comment #2) > I can reproduce in Firefox 43, but not in Safe Mode. In Safe Mode, the > pages appear okay. Ant H, I understand that when using Firefox in safe mode works, but does this happens when using Firefox with a new profile?
WFM on Fx44b1 (the have new UI) & Fx43 on Win10, with url: https://github.com/github/markup/blob/master/README.md Maybe your add-ons to break it.
Component: Untriaged → Security
Flags: needinfo?(anthony.hayward)
I also do not see the issue when using a new clean profile. The page appears okay when using Safe Mode or a clean profile. I have investigated further and it seems it is an issue with a plugin I am using. Disabling plugin "Markdown Viewer 1.8.1 by Thiht" has also fixed it. BTW YF - the URL you suggest is not valid to reproduce the issue because it doesn't produce an error page. But the invalid URL https://github.cob/bad.md reproduces it for me with whatever is the bad plugin enabled.
Flags: needinfo?(anthony.hayward)
Raised as a bug with the plugin developer: https://github.com/Thiht/markdown-viewer/issues/51 . Please close, apologies for raising this here.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.