Wicket
  1. Wicket
  2. WICKET-5112

Parantheses problem with UrlValidator

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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)"));

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development