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

Url.canonical() breaks when there are two consecutive "parent" segments followed by a normal segment

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.10.0
    • Fix Version/s: 6.11.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      assertEquals("a/d", Url.parse("a/b/c/../../d").canonical().getPath());

      breaks with :
      Expected :a/d
      Actual :a/b/../d

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: