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-validator.git
The following commit(s) were added to refs/heads/master by this push:
new e7dae8d4 Fix ISIN country-code check using untrimmed input (#399).
e7dae8d4 is described below
commit e7dae8d45939523c0a60077f8bc7a8bfb279b39f
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jun 19 13:11:37 2026 +0000
Fix ISIN country-code check using untrimmed input (#399).
---
src/changes/changes.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6f056155..f9baa632 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -82,6 +82,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="sahvx655-wq, Gary Gregory">Fix
RegexValidator.validate() returning null for a valid match (#395).</action>
<action type="fix" dev="ggregory" due-to="sahvx655-wq, Gary
Gregory">Compare CAS and EC check digit against validated code, not raw input
(#398).</action>
<action type="fix" dev="ggregory" due-to="sahvx655-wq">Prevent URL path
traversal bypass via percent encoding in UrlValidator (#383).</action>
+ <action type="fix" dev="ggregory" due-to="sahvx655-wq">Fix ISIN
country-code check using untrimmed input (#399).</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add and use
CheckDigitException.CheckDigitException(String, Object...) (#389).</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add and use
ValidatorException.ValidatorException(Throwable). Call sites that previously
called new ValidatorException(Throwable#getMessage()) now preserve that
exception (#390).</action>