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

Use a Gecko version check for determing URL in :pageinfo s.

This commit is contained in:
Doug Kearns
2015-12-24 03:54:58 +11:00
parent 4f05f934fd
commit 1d2bf51c1a

View File

@@ -2929,11 +2929,8 @@ Buffer.addPageInfoSection("s", "Security", function* (verbose) {
yield ["Verified by", data.caOrg];
let uri = identity._lastUri;
if (uri === undefined)
uri = identity._uri;
let { host, port } = uri;
let { host, port } = config.haveGecko("43") ? identity._uri :
identity._lastUri;
if (port == -1)
port = 443;