Skip to content

Fix inconsistent behavior with ALL-CAPS strings containing separators#1583

Open
ManojLingala wants to merge 4 commits into
Humanizr:mainfrom
ManojLingala:fix-uppercase-inconsistent-behavior
Open

Fix inconsistent behavior with ALL-CAPS strings containing separators#1583
ManojLingala wants to merge 4 commits into
Humanizr:mainfrom
ManojLingala:fix-uppercase-inconsistent-behavior

Merge branch 'main' into fix-uppercase-inconsistent-behavior

02c9171
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Oct 9, 2025 in 3s

1 new alert

New alerts in code changed by this pull request

  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 81 in src/Humanizer/Transformer/ToTitleCase.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Where Note

This foreach loop
implicitly filters its target sequence
- consider filtering the sequence explicitly using '.Where(...)'.