yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60742
[Bug 1658639] [NEW] Regex in ec2/utils.py is wrong
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
Follow ups