Skip to content
Snippets Groups Projects
Commit c6ff4c63 authored by Thibaut Girka's avatar Thibaut Girka Committed by ThibG
Browse files

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

parent 75b0fa8b
Branches
Tags
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment