Skip to content

Commit 636bed1

Browse files
authored
Merge pull request #25 from testdouble/fix-uri-rfc3986-parser-escape-deprecation-warning
Fix URI escape deprecation
2 parents 9d1268f + 736781f commit 636bed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/azure_blob/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def delete_container(options = {})
246246
#
247247
# Example: +generate_uri("#{container}/#{key}")+
248248
def generate_uri(path)
249-
URI.parse(URI::DEFAULT_PARSER.escape(File.join(host, path)))
249+
URI.parse(URI::RFC2396_PARSER.escape(File.join(host, path)))
250250
end
251251

252252
# Returns an SAS signed URI

0 commit comments

Comments
 (0)