2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

FIX: URI must be ascii only for URI.parse command

This commit is contained in:
Vinoth Kannan 2018-01-07 02:31:35 +05:30
parent c1ae562389
commit e5affdf230
2 changed files with 2 additions and 1 deletions

View file

@ -1273,7 +1273,7 @@ SQL
end
def featured_link_root_domain
MiniSuffix.domain(URI.parse(self.featured_link).hostname)
MiniSuffix.domain(URI.parse(URI.encode(self.featured_link)).hostname)
end
private