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
|
||||||
end
|
end
|
||||||
|
|
||||||
def escape(url)
|
def escape(str)
|
||||||
# We want spaces to turn into %20 and slashes to stay slashes
|
# 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
|
end
|
||||||
|
|
||||||
def redis
|
def redis
|
||||||
|
Loading…
x
Reference in New Issue
Block a user