1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 03:24:11 +01:00

Fix :pageinfo security section construction.

gIdentityHandler._lastLocation is now _lastUri.
This commit is contained in:
Doug Kearns
2013-11-02 22:16:03 +11:00
parent ef30e3cc47
commit 98da57f22f

View File

@@ -2699,9 +2699,11 @@ Buffer.addPageInfoSection("s", "Security", function (verbose) {
yield ["Verified by", data.caOrg];
if (identity._overrideService.hasMatchingOverride(identity._lastLocation.hostname,
(identity._lastLocation.port || 443),
data.cert, {}, {}))
let { host, port } = identity._lastUri;
if (port == -1)
port = 443;
if (identity._overrideService.hasMatchingOverride(host, port, data.cert, {}, {}))
yield ["User exception", /*L*/"true"];
break;
}