Improve argument name
It's used in the code for escaping only parts of URLs
This commit is contained in:
parent
3512c0f7c9
commit
771ff97cfe
@ -431,9 +431,9 @@ module RemoteStorage
|
||||
end
|
||||
end
|
||||
|
||||
def escape(url)
|
||||
def escape(str)
|
||||
# We want spaces to turn into %20 and slashes to stay slashes
|
||||
CGI::escape(url).gsub('+', '%20').gsub('%2F', '/')
|
||||
CGI::escape(str).gsub('+', '%20').gsub('%2F', '/')
|
||||
end
|
||||
|
||||
def redis
|
||||
|
Loading…
x
Reference in New Issue
Block a user