payload_content_encoding is ignored when content_type is none or empty
Bug #1434652 reported by
Thomas Dinkjian
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-barbicanclient |
Fix Released
|
Medium
|
Douglas Mendizábal |
Bug Description
When submitting a secret with the following payload:
secret_
"name": "AES key",
"expiration": "2018-02-
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",
"payload": "gF6+lLoF3ohA9a
"payload_
"payload_
}
The secret is created successfully because the encoding gets ignored.
This should return a 400 error since the user specified incorrect information.
Changed in python-barbicanclient: | |
status: | New → Confirmed |
Changed in python-barbicanclient: | |
importance: | Undecided → Medium |
milestone: | none → 3.0.3 |
assignee: | nobody → Douglas Mendizábal (dougmendizabal) |
Changed in python-barbicanclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /review. openstack. org/#/c/ 168163/ 1