Public bug reported:

The following

strip_port = re.match('Boto/2.[0-9].[0-2]', user_agent)

should be

strip_port = re.match('Boto/2\.[0-9]\.[0-2]', user_agent)

as the "." may match anything, like: "Boto/2x0t2".

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1658639

Title:
  Regex in ec2/utils.py is wrong

Status in OpenStack Identity (keystone):
  New

Bug description:
  The following

  strip_port = re.match('Boto/2.[0-9].[0-2]', user_agent)

  should be

  strip_port = re.match('Boto/2\.[0-9]\.[0-2]', user_agent)

  as the "." may match anything, like: "Boto/2x0t2".

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1658639/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to