We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a70b44 + 631d4d6 commit 6fdce6bCopy full SHA for 6fdce6b
lib/azure_blob/canonicalized_resource.rb
@@ -5,7 +5,7 @@ class CanonicalizedResource # :nodoc:
5
def initialize(uri, account_name, service_name: nil, url_safe: true)
6
# This next line is needed because CanonicalizedResource
7
# need to be escaped for auhthorization headers, but not SAS tokens
8
- path = url_safe ? uri.path : URI::DEFAULT_PARSER.unescape(uri.path)
+ path = url_safe ? uri.path : URI::RFC2396_PARSER.unescape(uri.path)
9
resource = "/#{account_name}#{path.empty? ? "/" : path}"
10
resource = "/#{service_name}#{resource}" if service_name
11
params = CGI.parse(uri.query.to_s)
0 commit comments