When an iniitial marker that ends with a delimiter is provided, it
prevents listing of that "subdirectory" due to new logic at the cls
level to make listing more efficient. The fix catches that situation.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit
220ef4b22d1d1667eb4f2c300a0b788e87b9067d)
bool has_delimiter = !op.delimiter.empty();
if (has_delimiter &&
+ start_after_key > op.filter_prefix &&
boost::algorithm::ends_with(start_after_key, op.delimiter)) {
// advance past all subdirectory entries if we start after a
// subdirectory