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=30757>.
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=30757

Validator does not validate 'url' type of fields





------- Additional Comments From [EMAIL PROTECTED]  2004-08-26 21:25 -------
It appears that the UrlValidator.isValidUrl method is returning false when it
shouldn't.
For example, suppose my URL is 'http://struts.apache.org'

The path portion should be '//struts.apache.org' (group 5 in the URL pattern).

However, the value retrieved from 'matchUrlPat.group(PARSE_URL_PATH)' and passed
to isValidPath() method is an empty String.

        if (!isValidPath(matchUrlPat.group(PARSE_URL_PATH))) {
            return false;
        }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to