Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5112

Parantheses problem with UrlValidator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.10
    • Fix Version/s: 6.7.0, 1.5.11
    • Component/s: wicket
    • Labels:

      Description

      One of our users got an error message when trying to add a new URL:

      'http://en.wikipedia.org/wiki/Genus_(mathematics)' is not a valid URL

      I just created very quickly a junit test and it fails:

      String[] schemes =

      {"http"}

      ;
      UrlValidator urlValidator = new UrlValidator(schemes);
      assertTrue(urlValidator.isValid("http://en.wikipedia.org/wiki/Genus_(mathematics)"));

        Attachments

          Activity

            People

            • Assignee:
              svenmeier Sven Meier
              Reporter:
              tneto Teresa Neto
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: