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.
1 parent 9d1268f commit 631d4d6Copy full SHA for 631d4d6
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