From 1d2bf51c1a7d71b576475b90401bec2205ceaf27 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 24 Dec 2015 03:54:58 +1100 Subject: [PATCH] Use a Gecko version check for determing URL in :pageinfo s. --- common/modules/buffer.jsm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/common/modules/buffer.jsm b/common/modules/buffer.jsm index 18b0c543..bb88df5e 100644 --- a/common/modules/buffer.jsm +++ b/common/modules/buffer.jsm @@ -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;