Unbound regex in config options
Bug #1815763 reported by
Jim Rollenhagen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Jim Rollenhagen |
Bug Description
Oslo.config uses re.search() to check config values against the allowed regex. This checks if the regex matches anywhere in the string, rather than checking if the entire string matches the regex.
Nova has three config options that appear as if the entire string should match the given regex:
* DEFAULT.
* cinder.catalog_info
* serial_
However, these are not bounded with ^ and $ to ensure the entire string matches.
Changed in nova: | |
importance: | Undecided → Low |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/636627
Review: https:/