Skip to content

Fix locale-dependent toLowerCase()/toUpperCase() calls #1281

Closed
@ppkarwasz

Description

@ppkarwasz

Log4j2 has a couple of remaining call sites of String#toLowerCase and String#toUpperCase, which are locale-dependent. These calls should be replaced with Strings#toRootLowerCase and Strings#toRootUpperCase.

Such a call is present for example in PluginManager, which causes IfLastModified to be transformed to ıflastmodified (with a dotless i), if the locale is Turkish (cf. this SO question).

Metadata

Metadata

Assignees

Labels

bugIncorrect, unexpected, or unintended behavior of existing codegood first issueIssues that are good for contributors looking to get started

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions