Fix crash when invalid addresses are linked in HTML or Markdown toots

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Thibaut Girka 2020-05-09 15:50:09 +02:00 committed by ThibG
parent 75b0fa8b76
commit c6ff4c634c
1 changed files with 2 additions and 0 deletions

View File

@ -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