From ef27fbe1e5e4e5f51764b372d23619d6b77f9464 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 01:27:02 +0000 Subject: [downloads] Stop using referrers as sources --- basilisk/components/downloads/DownloadsViewUI.jsm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/basilisk/components/downloads/DownloadsViewUI.jsm b/basilisk/components/downloads/DownloadsViewUI.jsm index 3b0e4c1..26b756f 100644 --- a/basilisk/components/downloads/DownloadsViewUI.jsm +++ b/basilisk/components/downloads/DownloadsViewUI.jsm @@ -247,8 +247,7 @@ this.DownloadsViewUI.DownloadElementShell.prototype = { stateLabel = s.stateFailed; } - let referrer = this.download.source.referrer || this.download.source.url; - let [displayHost, fullHost] = DownloadUtils.getURIHost(referrer); + let [displayHost, fullHost] = DownloadUtils.getURIHost(this.download.source.url); let date = new Date(this.download.endTime); let [displayDate, fullDate] = DownloadUtils.getReadableDates(date); -- cgit v1.2.3