This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new cf855a838 LocaleUtils.parseLocale(String) operator precedence bug
allows invalid language with numeric country (#1658)
cf855a838 is described below
commit cf855a838ac4bb4a9c919d01cc5254c89db6d8e1
Author: Gary Gregory <[email protected]>
AuthorDate: Mon May 18 09:24:28 2026 -0400
LocaleUtils.parseLocale(String) operator precedence bug allows invalid
language with numeric country (#1658)
---
src/changes/changes.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 60baa8a56..99cb3aee3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -157,6 +157,7 @@ java.lang.NullPointerException: Cannot invoke
<action type="fix" dev="pkarwasz" due-to="Piotr
Karwasz">WordUtils.wrap() leaves separator characters in the output when the
wrapOn regex match is longer than one character (#1655).</action>
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">StringUtils.indexOfAny(CharSequence, int, char...)
should not throw for a bad index (#1656).</action>
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">StrBuilder.deleteImpl(int, int, int) doesn't clear
its unused bytes. (#1654).</action>
+ <action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">LocaleUtils.parseLocale(String) operator precedence
bug allows invalid language with numeric country (#1658).</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary
Gregory">Add JavaVersion.JAVA_27.</action>
<action type="add" dev="ggregory" due-to="Gary
Gregory">Add SystemUtils.IS_JAVA_27.</action>