You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2023/09/12 17:26:32 UTC

[GitHub] [ozone] adoroszlai commented on pull request #5276: HDDS-8920. Ozone is supporting unicode volume and bucket names, potentially unintentionally

adoroszlai commented on PR #5276:
URL: https://github.com/apache/ozone/pull/5276#issuecomment-1716141798

   > I worry slightly about needing to use a (simple) regex on every character of a key
   
   I guess it's only needed to be able to show the offending character.  How about this:
   
   1. check the whole string against the regex
   2. only if it fails to match, find (all) offending characters
   
   This might reduce processing time for the happy path.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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