123123213weqw opened a new issue, #1467:
URL: https://github.com/apache/rocketmq-dashboard/issues/1467

   ## Bug
   
   `CreateCloudCredentialDTO.parseVendor` uppercases the vendor using the JVM 
default locale. On a Turkish-locale host, the valid input `aliyun` becomes 
`ALİYUN` (dotted capital I), so `InstanceVendor.valueOf` fails and the valid 
vendor is parsed as null.
   
   Vendor names are protocol identifiers and must not depend on the host locale.
   
   ## Expected behavior
   
   Case-insensitive `aliyun` input should resolve to `InstanceVendor.ALIYUN` on 
every JVM locale.
   
   ## Proposed fix
   
   - normalize the vendor with `Locale.ROOT`
   - add a focused DTO regression test under a Turkish default locale
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to