mirror of
https://github.com/versity/versitygw.git
synced 2026-07-29 03:22:57 +00:00
The object semantics are that a key that ends with / is different than a key that does not. However on posix a name that ends with / is assumed to be a directory, but it still succeeds to access the directory by name without a trailing /. So we need to explicitly check if the request is for a non-directory and we are trying to access a directory. Fixes #824