Issue Details (XML | Word | Printable)

Key: VALIDATOR-204
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Ben
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Commons Validator

isValid return false for a valid URL

Created: 06/Oct/06 12:34 AM   Updated: 12/Nov/07 07:25 PM
Return to search
Component/s: None
Affects Version/s: 1.3.0 Release
Fix Version/s: 1.3.1 Release

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works VALIDATOR-204.patch 2006-10-06 10:44 PM Henri Yandell 2 kB
Environment: JBOSS, Linux

Resolution Date: 06/Oct/06 09:46 PM


 Description  « Hide
IsValid returns false for the following valid Url:

http://tech.yahoo.com/rc/desktops/102;_ylt=Ao8yevQHlZ4On0O3ZJGXLEQFLZA5

Stepping thru the code isValidPath return false for the above URL.

Test Code:

String[] schemes = {"http","https"}.
UrlValidator urlValidator = new UrlValidator(schemes) ;
urlValidator.isValid("http://tech.yahoo.com/rc/desktops/102;_ylt=Ao8yevQHlZ4On0O3ZJGXLEQFLZA5") ;



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.