struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: URL validation and capitals
Date Thu, 28 Jul 2016 09:47:02 GMT
2016-05-09 8:38 GMT+02:00 Greg Huber <gregh3269@gmail.com>:
> A while back I though I read a fix on capitals on the url validator.  It
> now seems to be blacking them again.
>
> http://www.appache.org/TEST
>
> I do have some URL's with capitals so it might have worked at some time?

Yeah, looks like the RegEx check is case-sensitive
https://github.com/apache/struts/blob/master/core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java#L58

Can you register a ticket?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message