From 98da57f22f9823972d226c40c94692278374f436 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 2 Nov 2013 22:16:03 +1100 Subject: [PATCH] Fix :pageinfo security section construction. gIdentityHandler._lastLocation is now _lastUri. --- common/modules/buffer.jsm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/common/modules/buffer.jsm b/common/modules/buffer.jsm index f4092a35..472b8c11 100644 --- a/common/modules/buffer.jsm +++ b/common/modules/buffer.jsm @@ -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; }