From 61cec10a6101ca0922c500943d24dda86ab011f9 Mon Sep 17 00:00:00 2001 From: Wouter van Kesteren Date: Mon, 21 Dec 2015 04:37:54 +0100 Subject: [PATCH] Fix pageinfo by handling _uri too. ':pageinfo s' is broken on 43.0 thanks to commit: "Bug 1175702 - Implement mixed content states in the control center" https://github.com/mozilla/gecko-dev/commit/4194314d45e6219696f5c93734a40f0ef5b1f247 --- common/modules/buffer.jsm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/modules/buffer.jsm b/common/modules/buffer.jsm index 3d8553cc..18b0c543 100644 --- a/common/modules/buffer.jsm +++ b/common/modules/buffer.jsm @@ -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;