You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/02/26 21:36:25 UTC
DO NOT REPLY [Bug 30686] -
[validator] UrlValidator fails http://www.google.com
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
adraken@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12480|0 |1
is obsolete| |
Attachment #12481|0 |1
is obsolete| |
------- Additional Comments From adraken@yahoo.com 2005-02-26 21:36 -------
Created an attachment (id=14369)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=14369&action=view)
PATH_PATTERN allows empty paths. isValidPath() allows a trailing slash.
TestPairs updated to reflect changes.
I've been following this bug after trying to use the URL validator and noticing
that it is unusably strict. I finally decided to submit a patch since allowing
URLs of the form "http://www.google.com", "http://www.google.com/", and
"http://www.google.com/apis/" is necessary. They are almost universally
accepted as proper URLs.
As far as <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC2396</a> is
concerned, Part 1.3 shows a trailing slash as being acceptable.
I have obsoleted Tim Reilly's patches since this patch accomplishes the same
and more. In addition, there have since been changes made in the code that
conflict with his older patch.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org