mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Avoid object names with '//' to avoid hash inconsistencies (#8946)
This is to fix a situation where an object name incorrectly is sent with '//' in its path heirarchy, we should reject such object names because they may be hashed to a set where the object might not originally belong because, this can cause situations where once object is uploaded we cannot delete it anymore. Fixes #8873
This commit is contained in:
@@ -46,7 +46,9 @@ function main()
|
||||
gw_pid="$(start_minio_gateway_s3)"
|
||||
|
||||
SERVER_ENDPOINT=127.0.0.1:24240 ENABLE_HTTPS=0 ACCESS_KEY=minio \
|
||||
SECRET_KEY=minio123 MINT_MODE="full" /mint/entrypoint.sh
|
||||
SECRET_KEY=minio123 MINT_MODE="full" /mint/entrypoint.sh \
|
||||
awscli aws-sdk-java aws-sdk-ruby mc minio-go minio-js s3cmd \
|
||||
aws-sdk-go aws-sdk-php healthcheck minio-dotnet minio-py security
|
||||
rv=$?
|
||||
|
||||
kill "$sr_pid"
|
||||
|
||||
Reference in New Issue
Block a user