1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-21 01:21:25 +02:00

Fix pageinfo by handling _uri too.

':pageinfo s' is broken on 43.0 thanks to commit:

"Bug 1175702 - Implement mixed content states in the control center"
https://github.com/mozilla/gecko-dev/commit/4194314d45e6219696f5c93734a40f0ef5b1f247
This commit is contained in:
Wouter van Kesteren
2015-12-21 04:37:54 +01:00
parent 174f4ec636
commit 61cec10a61
+5 -1
View File
@@ -2929,7 +2929,11 @@ Buffer.addPageInfoSection("s", "Security", function* (verbose) {
yield ["Verified by", data.caOrg];
let { host, port } = identity._lastUri;
let uri = identity._lastUri;
if (uri === undefined)
uri = identity._uri;
let { host, port } = uri;
if (port == -1)
port = 443;