Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

S3Mock doesn't differ paths with and without slash at the end #45

@jimirocks

Description

@jimirocks

having stored some object under the key some/path/example it should

  • respond with 404 on getObject("some/path") or getObject("some/path/") but it responds with 500
  • respond with 204 on deleteObject("some/path") and do nothing but it responds with 204 and deletes the keys prefixed with some/path
  • also now it's not possible to store two objects ie. one with key key and the second with key key/ or key/example

... may be some other cases needs to be reconsidered as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions