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

Merge pull request #2819 from estum/patch-1

Fix endpoint version detecting from rackspace_auth_url with trailing slash
This commit is contained in:
Kyle Rames 2014-04-09 15:46:34 -05:00
commit 386f93c401

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)