policy: single quote(') should be escaped by '
Bug #1965338 reported by
Takashi Kajinami
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-openstacklib |
Fix Released
|
High
|
Takashi Kajinami |
Bug Description
Currently we surrounds policy rule key/value by single quotes(').
When a value includes single quotes, these should be escaped by ' like the following example
'foo': 'this is a ''good'' example'
However this escape is not automatically enforced now, and if a user is not aware of the requirement, he/she might be an invalid record like;
'foo': 'this is a 'bad' example'
https:/ /review. opendev. org/c/openstack /puppet- openstacklib/ +/834248