Fixes object versioning when object name and/or version
container name contain multibyte utf-8 characters.
When object names containing non-ASCII characters
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 but fails to restore previous version of
object, so second delete incorrectly returns 404.
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