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

Andy Huang reassigned HDDS-17319:
---------------------------------

    Assignee: Andy Huang  (was: Chung-En Lee)

> S3 Gateway returns 500 for PutObject with a non-numeric 
> x-amz-decoded-content-length
> ------------------------------------------------------------------------------------
>
>                 Key: HDDS-17319
>                 URL: https://issues.apache.org/jira/browse/HDDS-17319
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: s3gateway
>            Reporter: Chung-En Lee
>            Assignee: Andy Huang
>            Priority: Minor
>
> For a non-streaming PutObject, ObjectEndpoint#handlePutRequest calls 
> Long.parseLong on x-amz-decoded-content-length, so a value such as {{abc}} or 
> {{99999999999999999999}} throws NumberFormatException and returns 500. Amazon 
> S3 ignores the header for such uploads and returns 200.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to