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 17799] - '/' not escaped in regexp mask
Date Fri, 08 Aug 2003 20:43:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17799>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17799

'/' not escaped in regexp mask

dgraham@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From dgraham@apache.org  2003-08-08 20:43 -------
I just tried these 2 regexs from a Struts app (which uses commons-validator 1.0.
2):
^[a-zA-Z0-9/]*$
^[a-zA-Z0-9\/]*$

Both expressions correctly validated test strings containing the '/' character.  
I'm closing this based on my test and Adam's first message which also indicates 
/ does not need to be escaped.

Mime
View raw message