You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/08/10 14:39:25 UTC

[PR] fix(metrics): normalize auth modes with root locale [rocketmq-dashboard]

yyqdbngt opened a new pull request, #1488:
URL: https://github.com/apache/rocketmq-dashboard/pull/1488

   ### Problem
   
   Metrics authentication modes were lowercased with the JVM default locale. Under Turkish locale, uppercase `BASIC` becomes `basıc`, so valid basic authentication silently falls back to `none` and the query is sent without credentials.
   
   ### Fix
   
   Normalize authentication mode identifiers with `Locale.ROOT` before mapping them to the metrics source configuration.
   
   ### Verification
   
   `mvn -B -ntp -Dmaven.compiler.proc=full -Dtest=MetricsServiceTest test`
   
   Tests run: 16, failures: 0, errors: 0.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [PR] fix(metrics): normalize auth modes with root locale [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #1488:
URL: https://github.com/apache/rocketmq-dashboard/pull/1488


-- 
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: commits-unsubscribe@rocketmq.apache.org

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