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:
parent
c1ae562389
commit
e5affdf230
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue