This is an automated email from the ASF dual-hosted git repository.
sebb 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 ab5ee19 Add test for validator-429
ab5ee19 is described below
commit ab5ee1921f232762860230ad049002bff8f6ab7f
Author: Sebb <[email protected]>
AuthorDate: Sun Jul 26 15:42:19 2020 +0100
Add test for validator-429
---
.../java/org/apache/commons/validator/routines/UrlValidatorTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
b/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
index b34a030..599dbd7 100644
--- a/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
+++ b/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
@@ -511,6 +511,7 @@ public class UrlValidatorTest extends TestCase {
assertTrue(validator.isValid("https://example.com/some_path/path/"));
assertTrue(validator.isValid("https://example.com//somepath/path/"));
assertTrue(validator.isValid("https://example.com//some_path/path/"));
+ assertTrue(validator.isValid("http://example.com//_test")); //
VALIDATOR-429
}
//-------------------- Test data for creating a composite URL