From b1896615b14d756438bb36b317cbf4e59b486daa Mon Sep 17 00:00:00 2001 From: Fedor Date: Wed, 14 Oct 2020 01:56:35 +0300 Subject: [PATCH] [Centaury] 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 3b0e4c1b7..26b756f26 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);