Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-204

isValid return false for a valid URL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0 Release
    • 1.3.1 Release
    • None
    • None
    • JBOSS, Linux

    Description

      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") ;

      Attachments

        1. VALIDATOR-204.patch
          2 kB
          Henri Yandell

        Activity

          People

            Unassigned Unassigned
            shamsian Ben
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: