From f8c9d784db842be0969c2f7e79eb29b40e519696 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 01:27:02 +0000 Subject: [PATCH] [Basilisk] [downloads] Stop using referrers as sources --- application/basilisk/components/downloads/DownloadsViewUI.jsm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/basilisk/components/downloads/DownloadsViewUI.jsm b/application/basilisk/components/downloads/DownloadsViewUI.jsm index 3b0e4c1b76..26b756f266 100644 --- a/application/basilisk/components/downloads/DownloadsViewUI.jsm +++ b/application/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);