diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-10 03:34:15 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-10 03:34:15 +0200 |
commit | aec51e40ee98b1a73d59b1456e61709d49c61552 (patch) | |
tree | ab8b721dcd64306a14ff18a48d68e12a719196d2 /app/lib | |
parent | 5f737c72282b981e3e637e5b4836ce45a161947c (diff) |
Make account domains case-insensitive, downcase before checking against local
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/tag_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/tag_manager.rb b/app/lib/tag_manager.rb index ad76d10c4..d2cf35b49 100644 --- a/app/lib/tag_manager.rb +++ b/app/lib/tag_manager.rb @@ -18,7 +18,7 @@ class TagManager end def local_domain?(domain) - domain.nil? || domain.gsub(/[\/]/, '') == Rails.configuration.x.local_domain + domain.nil? || domain.gsub(/[\/]/, '').downcase == Rails.configuration.x.local_domain.downcase end def uri_for(target) |