aboutsummaryrefslogtreecommitdiffstats
path: root/resources/badcert.html
diff options
context:
space:
mode:
Diffstat (limited to 'resources/badcert.html')
-rw-r--r--resources/badcert.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/badcert.html b/resources/badcert.html
index 4548686afc5..4933f5af0cb 100644
--- a/resources/badcert.html
+++ b/resources/badcert.html
@@ -6,7 +6,7 @@
<p>${reason}</p>
<button id="leave" onclick="history.back()">Go back (recommended)</button>
<button id="allow">Allow certificate temporarily</button>
- <pre id="bytes">${bytes}</pre>
+ <div style="word-break: break-all; font-family: monospace" id="bytes">${bytes}</div>
<script>
let bytes = document.getElementById('bytes').textContent;
let button = document.getElementById('allow');
@@ -18,7 +18,7 @@
xhr.onloadend = function() {
location.reload(true);
};
- xhr.send("${secret}&" + btoa(bytes));
+ xhr.send("${secret}&${bytes}");
};
} else {
button.style.display = "none";