1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 14:22:27 +01: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"
4194314d45
This commit is contained in:
Wouter van Kesteren
2015-12-21 04:37:54 +01:00
parent 174f4ec636
commit 61cec10a61

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;