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

        Hide
        Martin Grigorov added a comment -

        You will have to wait for the release.
        1.5.10 was recently released and there are just 11 fixes for 1.5.11 so far. I guess it will be released after one month.

        Show
        Martin Grigorov added a comment - You will have to wait for the release. 1.5.10 was recently released and there are just 11 fixes for 1.5.11 so far. I guess it will be released after one month.
        Hide
        Teresa Neto added a comment -

        How can I get wicket 1.5.11 jar files?

        Show
        Teresa Neto added a comment - How can I get wicket 1.5.11 jar files?
        Hide
        Sven Meier added a comment -

        parenthesis are valid in url path

        Show
        Sven Meier added a comment - parenthesis are valid in url path

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development