What steps will reproduce the problem?
public class HelloWorldTest extends TestCase
{
@Test
public void testIsValidEmail()
{
Validator instance = ESAPI.validator();
System.out.print("before hang");
instance.isValidInput("test", "https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxx.com:8000?msg=%21", "URL", 2000, false);
System.out.print("after hang");
}
}
What is the expected output? What do you see instead?
Validator.URL should not hang on an invalid url.
What version of the product are you using? On what operating system?
JAVA
ESAPI 2.01
JDK 1.6.26
Original issue reported on code.google.com by clock...@gmail.com on 25 Nov 2011 at 2:50
Original issue reported on code.google.com by
clock...@gmail.com
on 25 Nov 2011 at 2:50