Config file corrupted by options containing the ampersand character (&)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
High
|
Unassigned |
Bug Description
Attempting to set a value containing the ampersand character (&) by iniset would corrupt the value.
Here is an example.
$ iniset /etc/glance/
When the above iniset is called multiple times, the value would be corrupted as follows.
# First time
connection = mysql+pymysql:
# Second time
connection = mysql+pymysql:
# Third time
connection = mysql+pymysql:
This is reproduced in a very simple example as follows
$ iniset /tmp/dummy database connection '&y'
Changed in devstack: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. opendev. org/c/openstack /devstack/ +/852378
Review: https:/