Fix whitelist federation for subdomains (#12435)

lolsob-rspec
noiob 2019-11-21 11:35:39 +01:00 committed by Eugen Rochko
parent 1346774607
commit 0fe0be988e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module DomainControlHelper
domain = begin
if uri_or_domain.include?('://')
Addressable::URI.parse(uri_or_domain).domain
Addressable::URI.parse(uri_or_domain).host
else
uri_or_domain
end