swift cli does not support ':' in metadata values
Bug #930872 reported by
Doug Weimer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Doug Weimer |
Bug Description
The swift cli does not set a maxsplit value when parsing through the metadata options. All characters after the first ':' in a metadata value are ignored.
For example:
swift post -m 'web-listings-css: https:/
Results in the following metadata set on the container:
Meta Web-Listings-Css: https
The code to be changed is in st_post in 3 locations. Here is an example for the container split:
for item in options.meta:
split_item = item.split(':')
item.split(':') should be changed to item.split(':',1)
Changed in swift: | |
milestone: | none → 1.4.7 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/4058
Review: https:/