diff --git a/app/lib/tag_manager.rb b/app/lib/tag_manager.rb index c88cf49947..d06bea0593 100644 --- a/app/lib/tag_manager.rb +++ b/app/lib/tag_manager.rb @@ -35,5 +35,7 @@ class TagManager domain = uri.host + (uri.port ? ":#{uri.port}" : '') TagManager.instance.web_domain?(domain) + rescue Addressable::URI::InvalidURIError + false end end