mirror of
https://github.com/versity/versitygw.git
synced 2026-07-22 07:52:41 +00:00
7260854cd0
This adds an object name validation util to check if the object path would resolve to a path outside of the bucket directory. S3 returns Bad Request for these type of paths: % aws s3api put-object --bucket mybucket --key test/../../hello An error occurred (400) when calling the PutObject operation: Bad Request