mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
cd3eb63c4a
This commit improves the docs for both functions (more Go-like) and drops an unnecessary condition in IsValidBucketName. This also drops a condition in IsValidObjectName where "" (empty string) was a valid object name. This has been fixed and will no longer return true. This commit also adds tests for both functions, including a regression test for the bug fix.