fix: locale-independent code upper-casing; refresh note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
39139ed7b1
commit
cbe48c2db9
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -207,7 +207,7 @@ public class AdminAuthController {
|
||||
if (!StringUtils.hasText(username) || username.contains("@")) {
|
||||
return null;
|
||||
}
|
||||
String code = company == null ? "" : company.trim().toUpperCase();
|
||||
String code = company == null ? "" : company.trim().toUpperCase(java.util.Locale.ROOT);
|
||||
return code.isEmpty() ? username.trim() : username.trim() + "@" + code;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user