object versioning breaks with non-ascii container names
Bug #1262341 reported by
John Dickinson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you create a container with a non-ASCII name, and then make another
container with X-Versions-
serializing stuff in memcache as json (the default), when the proxy
tries to make a versioned object, it will crash.
The fix is to make sure that get_container_
not unicodes.
The long-term fix would be to get rid of simplejson entirely, as its
decoder can't make up its mind whether JSON strings should be Python
strs or unicodes, and that makes it really really easy to write bugs
like this.
Changed in swift: | |
milestone: | none → 1.12.0 |
To post a comment you must log in.
https:/ /github. com/openstack/ swift/commit/ ace2aa33b19b3ff 5abfb3f624414f4 22f8723b41