Wicket
  1. Wicket
  2. WICKET-5345

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

    Details

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

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development