1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Allow v2 authentication url with trailing slash

This commit is contained in:
Tõnis Simo 2014-04-04 08:49:45 +04:00
parent 170a886430
commit 0446795297

View file

@ -102,7 +102,7 @@ module Fog
end
def v2_authentication?
@rackspace_auth_url.nil? || @rackspace_auth_url =~ /v2(\.\d)?\w*$/
@rackspace_auth_url.nil? || @rackspace_auth_url =~ /v2(\.\d)?[\w\/]*$/
end
def authenticate_v2(identity_options)