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

Parantheses problem with UrlValidator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.10
    • 6.7.0, 1.5.11
    • wicket

    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

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

            Dates

              Created:
              Updated:
              Resolved: