From 828ceab64b6572fed3d5964d39feba989403a982 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 17 Jun 2020 15:47:05 +0800 Subject: [PATCH] DEV: Make rubocop happy. --- lib/file_store/s3_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file_store/s3_store.rb b/lib/file_store/s3_store.rb index 4183e973cfa..cc507ed6ea5 100644 --- a/lib/file_store/s3_store.rb +++ b/lib/file_store/s3_store.rb @@ -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