mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
DEV: Make rubocop happy.
This commit is contained in:
parent
28f6c59612
commit
828ceab64b
|
@ -86,7 +86,7 @@ module FileStore
|
|||
return false if url.blank?
|
||||
|
||||
begin
|
||||
parsed_url = URI.parse(URI.encode(url))
|
||||
parsed_url = URI.parse(UrlHelper.encode(url))
|
||||
rescue URI::InvalidURIError, URI::InvalidComponentError
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user