[
https://issues.apache.org/jira/browse/HDDS-17892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149576#comment-18149576
]
Ivan Andika edited comment on HDDS-17892 at 11/23/26, 5:17 AM:
---------------------------------------------------------------
Thanks for the bug report, AFAIK I was following the following Java regex
pattern:
[https://docs.aws.amazon.com/directoryservice/latest/devguide/API_Tag.html]
without '@' character since I can just copy pasteĀ
!image-2026-11-23-13-15-05-199.png!
I didn't check whether the Java regex was actually equivalent to the one in
Pattern, my bad.
I don't think there is any reason currently so feel free to fix it.
was (Author: JIRAUSER298977):
Thanks for the bug report, AFAIK I was following the following Java regex
pattern:
[https://docs.aws.amazon.com/directoryservice/latest/devguide/API_Tag.html]
without '@' character since I can just copy pasteĀ
!image-2026-11-23-13-15-05-199.png!
I didn't check whether the Java regex was actually equivalent to the one in
Pattern, my bad.
> PutObjectTagging Rejects @ Character in Tag Value
> -------------------------------------------------
>
> Key: HDDS-17892
> URL: https://issues.apache.org/jira/browse/HDDS-17892
> Project: Apache Ozone
> Issue Type: Bug
> Components: S3
> Reporter: Bablu Raul
> Assignee: Gargi Jaiswal
> Priority: Major
> Attachments: image-2026-11-23-13-15-05-199.png
>
>
> Ozone S3 Gateway rejects an object tag value containing the {{@}} character
> with {{{}InvalidTag{}}}, although AWS S3 allows this character in tag values.
> *Steps to Reproduce:*
> # Create an S3 bucket.
> # Upload an object to the bucket.
> # Execute {{PutObjectTagging}} with the tag value {{{}a@b{}}}.
> # Observe the response.
> *Actual Result:*
> {{PutObjectTagging}} fails with {{InvalidTag}} when the tag value contains
> {{{}@{}}}.
> *Expected Result:*
> {{PutObjectTagging}} should accept {{@}} in tag values, consistent with AWS
> S3's supported character set.
> *Reference:*
> AWS S3 tag restrictions allow the following special characters: {{{}+ - = . _
> : / @{}}}.
> *Impact:*
> This causes an S3 compatibility issue for clients that use {{@}} in object
> tag values.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]