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

UrlValidator fails on IPv6 URL

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1 Release
    • Fix Version/s: 1.5.0
    • Component/s: Routines
    • Labels:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gstanchev George Stanchev

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment