Bug 1263174 - fix hostname insertion in SSL error pages, r?past draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 12 Apr 2016 14:10:56 +0100
changeset 349865 e210252dd595bba8844af7f528be8b7df3f0ea8f
parent 349524 02a6023f95ceb20beb3f996608c26cf8f5f5753a
child 518205 9099db6f551d81ec4c9cb0b396fc9a2f009606e1
push id15199
push usergijskruitbosch@gmail.com
push dateTue, 12 Apr 2016 13:11:26 +0000
reviewerspast
bugs1263174
milestone48.0a1
Bug 1263174 - fix hostname insertion in SSL error pages, r?past MozReview-Commit-ID: E9zaJGUHUNw
browser/base/content/aboutNetError.xhtml
--- a/browser/base/content/aboutNetError.xhtml
+++ b/browser/base/content/aboutNetError.xhtml
@@ -236,17 +236,17 @@
           title.parentNode.replaceChild(errTitle, title);
           // change id to the replaced child's id so styling works
           errTitle.id = "errorTitleText";
         }
 
         var sd = document.getElementById("errorShortDescText");
         if (sd) {
           if (gIsCertError) {
-            sd.textContent = document.getElementById("ed_nssBadCert").textContent;
+            sd.innerHTML = document.getElementById("ed_nssBadCert").innerHTML;
           }
           else {
             sd.textContent = getDescription();
           }
         }
         if (gIsCertError) {
           initPageCertError();
           return;