Skip to content

Commit b2616b0

Browse files
committed
Fix #22
1 parent 425923b commit b2616b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/azure_blob/shared_key_signer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def initialize(account_name:, access_key:, host:)
1111
@account_name = account_name
1212
@access_key = Base64.decode64(access_key)
1313
@host = host
14-
@remove_prefix = @host.include?("/#{@account_name}")
14+
@remove_prefix = @host.end_with?("/#{@account_name}")
1515
end
1616

1717
def authorization_header(uri:, verb:, headers: {})

0 commit comments

Comments
 (0)