Object versioning fails when object or version container name contains non-ASCII characters
Bug #1229142 reported by
Alistair Coles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Medium
|
Alistair Coles |
Bug Description
When object names containing non-ASCII characters (e.g. £oo or %C2%A3oo) are PUT multiple times into a container with an x-versions-location set, subsequent DELETE of the object results in a 500 response status.
When the versions container name contains non-ASCII characters the first delete of an object succeeds (regardless of object name characters) but fails to restore previous version of object, so second delete incorrectly returns 404 even when object versions remain in the versiosn container.
v1.9.1
description: | updated |
Changed in swift: | |
assignee: | nobody → Alistair Coles (alistair-coles) |
status: | New → In Progress |
description: | updated |
Changed in swift: | |
milestone: | none → 1.10.0-rc1 |
Changed in swift: | |
importance: | Undecided → Medium |
Changed in swift: | |
status: | Fix Committed → Fix Released |
Changed in swift: | |
milestone: | 1.10.0-rc1 → 1.10.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/47592 github. com/openstack/ swift/commit/ fa308d60bded8b7 30dda451321bb7b af5ded2aa8
Committed: http://
Submitter: Jenkins
Branch: master
commit fa308d60bded8b7 30dda451321bb7b af5ded2aa8
Author: anc <email address hidden>
Date: Fri Sep 20 15:08:12 2013 +0100
Fix utf-8 handling in object versions.
Fixes object versioning when object name and/or version
container name contain multibyte utf-8 characters.
When object names containing non-ASCII characters location set, subsequent DELETE of the
are PUT multiple times into a container with an
x-versions-
object results in a 500 response status.
When the versions container name contains
non-ASCII characters the first delete of an object
succeeds but fails to restore previous version of
object, so second delete incorrectly returns 404.
Fixes bug 1229142
Change-Id: I425440f76b8328 f8e119d390bfa4c 7022181e89e