Chung-En Lee created HDDS-16003:
-----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]