SaketaChalamchala opened a new pull request, #5123:
URL: https://github.com/apache/ozone/pull/5123

   ## What changes were proposed in this pull request?
   
   When using Virtual-Host Style addressing using AWS CLI the client uses `/` 
as the canonical URI when generating the S3 request. At the server side, 
`VirtualHostStyleFilter.java` extracts bucket name from the host value and 
appends it to the URI. This causes the signature validation to fail because the 
canonical URI used to generating string to sign is `/bucketname`.
   
   Removed the `bucketname` from request URI when doing signature validation.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7035
   
   ## How was this patch tested?
   
   Unit Tests
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to