1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-26 19:52:26 +01:00

Merge pull request #113 from woutershep/pageinfo-fix

Fix pageinfo by handling _uri too.
This commit is contained in:
dkearns
2015-12-24 03:45:12 +11:00

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;