Limit email domain block variant query to unique values (#38196)

This commit is contained in:
Matt Jankowski
2026-03-16 04:11:32 -04:00
committed by GitHub
parent e7cb3af15f
commit a9c248f14f

View File

@@ -70,7 +70,7 @@ class EmailDomainBlock < ApplicationRecord
segments = uri.normalized_host.split('.')
segments.map.with_index { |_, i| segments[i..].join('.') }
end
end.uniq
end
def extract_uris(domain_or_domains)