From ec966ac3c33553351e848a704758df9a7eb43844 Mon Sep 17 00:00:00 2001 From: Chris Raible Date: Mon, 27 Mar 2023 20:30:35 -0700 Subject: [PATCH] Added www.federalreserve.gov to the blockedReferrerDomains list (#16511) refs TryGhost/Team#2742 - The federal reserve's website returns a 404 for any URLs that include query params, so our member attribution/outbound link tagging was breaking any links to the federal reserve's website - This adds the federal reserve's website to the list of blocked domains so that we don't append ?ref= to any links to the federal reserve's website --- ghost/core/content/themes/casper | 2 +- ghost/member-attribution/lib/outbound-link-tagger.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ghost/core/content/themes/casper b/ghost/core/content/themes/casper index 3ed94d68fa..505503a63b 160000 --- a/ghost/core/content/themes/casper +++ b/ghost/core/content/themes/casper @@ -1 +1 @@ -Subproject commit 3ed94d68fad71ed5956a9f5f8a29d3bd0ef6c513 +Subproject commit 505503a63b51c89c96fcafd18550af29c6c811f1 diff --git a/ghost/member-attribution/lib/outbound-link-tagger.js b/ghost/member-attribution/lib/outbound-link-tagger.js index 0b3e34049a..a18cd3b278 100644 --- a/ghost/member-attribution/lib/outbound-link-tagger.js +++ b/ghost/member-attribution/lib/outbound-link-tagger.js @@ -6,7 +6,8 @@ const blockedReferrerDomains = [ 'facebook.com', 'www.facebook.com', 'web.archive.org', - 'archive.org' + 'archive.org', + 'www.federalreserve.gov' ]; /**