From 49991405878f4c353d417a7dbd0fd8a0afd1ac7b Mon Sep 17 00:00:00 2001 From: Bell Isabell Date: Tue, 3 Mar 2026 18:51:41 -0800 Subject: [PATCH] Remove fbi.com from LOCALHOST_DOMAINS fbi.com is a real domain (Federal Bureau of Investigation), not a localhost testing domain like lvh.me or fuf.me. Its presence in this list was incorrect and could cause unexpected behavior. Closes #25 --- app/models/domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/domain.rb b/app/models/domain.rb index ced00a9..d0060b6 100644 --- a/app/models/domain.rb +++ b/app/models/domain.rb @@ -39,7 +39,7 @@ def self.register(account, host) # rubocop:disable Metrics/AbcSize, Metrics/Meth end end - LOCALHOST_DOMAINS = ['lvh.me', 'fuf.me', 'fbi.com'].freeze + LOCALHOST_DOMAINS = ['lvh.me', 'fuf.me'].freeze def self.localhost_domain?(domain) LOCALHOST_DOMAINS.each do |haystack| return true if (domain == haystack) || domain.ends_with?(".#{haystack}")