commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30686] - [validator] UrlValidator fails http://www.google.com
Date Sun, 10 Oct 2004 16:46:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30686>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30686

[validator] UrlValidator fails http://www.google.com





------- Additional Comments From dgraham@apache.org  2004-10-10 16:46 -------
I think we could also simplify that expression by using \w :

private static final String PATH_PATTERN =
-            "/^(/[-a-zA-Z0-9_:@&?=+,.!/~*'%$]*)*$/";
+            "/^(/[-\w:@&?=+,.!/~*'%$]*)*$/";

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message