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

UrlValidator fails on IPv6 URL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.1 Release
    • 1.5.0
    • Routines
    • None

    Description

      I have created an UrlValidator:

      String[] schemes = {"http", "https"};
      UrlValidator urlValidator = new UrlValidator(schemes, UrlValidator.ALLOW_LOCAL_URLS);
      urlValidator.isValid("https://[fe80::8e0:6afa:a2d5:1c8a]/myapp")
      

      evaluates to false.

      Attachments

        1. UrlValidatorTest.java.patch
          0.8 kB
          Adrian Crum

        Activity

          People

            Unassigned Unassigned
            gstanchev George Stanchev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: