You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Huang Kuan Hao (Jira)" <ji...@apache.org> on 2026/07/04 07:02:00 UTC

[jira] [Created] (HDDS-15739) Reject requests with missing/empty Authorization header

Huang Kuan Hao created HDDS-15739:
-------------------------------------

             Summary:  Reject requests with missing/empty Authorization header
                 Key: HDDS-15739
                 URL: https://issues.apache.org/jira/browse/HDDS-15739
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Huang Kuan Hao
            Assignee: Huang Kuan Hao


The S3 Gateway accepts PutObject / CreateBucket when the Authorization header is removed or empty, instead of rejecting with AccessDenied (403) / InvalidRequest (400). Fix in AuthorizationFilter to reject absent/empty credentials.

Failing tests: test_bucket_create_bad_authorization_none, test_bucket_create_bad_authorization_empty, test_object_create_bad_authorization_none, test_object_create_bad_authorization_empty

Ref: [https://ozone.s3.peterxcli.dev/]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org