Closed jimirocks closed 7 years ago
Investigated more and looks like the behaviour is also different for in memory vs. file provider, at least the in memory provider doesn't do the wrong delete
I've fixed issues 1 and 2. As for 3, it's more tricky as when using file-based provider (which dumps everything on disk), you cannot have file and subfolder share the same name. POSIX filesystems explicitly do not allow it.
having stored some object under the key
some/path/example
it shouldgetObject("some/path")
orgetObject("some/path/")
but it responds with 500deleteObject("some/path")
and do nothing but it responds with 204 and deletes the keys prefixed withsome/path
key
and the second with keykey/
orkey/example
... may be some other cases needs to be reconsidered as well