mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +08:00
DEV: Make rubocop happy.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user