[ 
https://issues.apache.org/jira/browse/HDDS-13429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-13429:
----------------------------------
    Labels: pull-request-available  (was: )

> Custom metadata headers with uppercase characters are not supported
> -------------------------------------------------------------------
>
>                 Key: HDDS-13429
>                 URL: https://issues.apache.org/jira/browse/HDDS-13429
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: s3gateway
>            Reporter: Hsu Han Wen
>            Assignee: Hsu Han Wen
>            Priority: Major
>              Labels: pull-request-available
>
> According to [RFC 7230 
> ยง3.2|https://datatracker.ietf.org/doc/html/rfc7230#section-3.2],
> HTTP header field names are {*}case-insensitive{*}.
> However, the current [code block in 
> {{EndpointBase.java}}|https://github.com/apache/ozone/blob/master/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/EndpointBase.java#L298-L308]
>  does not correctly handle custom metadata headers when their names contain 
> uppercase characters.
> As a result, headers like {{X-AMZ-META-MyKey}} are ignored, while only 
> lowercase variants such as {{x-amz-meta-mykey}} are processed properly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to