You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chun-Hung Tseng (Jira)" <ji...@apache.org> on 2026/07/28 05:15:00 UTC

[jira] [Assigned] (HDDS-16003) ListObjects returns unencoded control characters in Prefix when encoding-type is omitted

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

Chun-Hung Tseng reassigned HDDS-16003:
--------------------------------------

    Assignee: Chun-Hung Tseng

> ListObjects returns unencoded control characters in Prefix when encoding-type is omitted
> ----------------------------------------------------------------------------------------
>
>                 Key: HDDS-16003
>                 URL: https://issues.apache.org/jira/browse/HDDS-16003
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Chung-En Lee
>            Assignee: Chun-Hung Tseng
>            Priority: Major
>
> When running Ceph s3-tests (test_bucket_list_prefix_unreadable), Ozone S3G fails with AssertionError: assert '%0A' == '\n'.
> The test sends a ListObjects request with a Prefix containing ASCII control characters (\x0a / line feed) without specifying encoding-type=url. S3-tests expects the response <Prefix> to be Percent-Encoded (%0A) for XML 1.0 safety. However, Ozone S3G returns the raw control character (\n), violating S3 XML compatibility.



--
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