Correctly handle keys starting with the delimiter.
When processing keys where the names start with the delimiter
character, swift should list only the delimiter character. To get the
list of nested keys, the caller should also supply the prefix which is
equal to the delimiter.
Added a functional test and unit tests to verify this behavior.
Reviewed: https:/ /review. openstack. org/202302 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=432e280aef1 ba08bbb8dc23926 0604024325c9f6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 432e280aef1ba08 bbb8dc239260604 024325c9f6
Author: Timur Alperovich <email address hidden>
Date: Wed Jul 15 14:22:45 2015 -0700
Correctly handle keys starting with the delimiter.
When processing keys where the names start with the delimiter
character, swift should list only the delimiter character. To get the
list of nested keys, the caller should also supply the prefix which is
equal to the delimiter.
Added a functional test and unit tests to verify this behavior.
Fixes Bug: 1475018
Change-Id: I27701a31bfa228 42c272b7781738e 8c546b82cbc