mirror of
https://github.com/pgsty/minio.git
synced 2026-03-17 15:33:17 +01:00
Fixed header-to-metadat extraction. The extractMetadataFromHeader function should return an error if the http.Header contains a non-canonicalized key. The reason is that the keys can be manually set (through a map access) which can lead to ugly bugs. Also fixed header-to-metadata extraction. Return a InternalError if a non-canonicalized key is found in a http.Header. Also log the error.
7.1 KiB
7.1 KiB