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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.10.0
    • 6.11.0, 7.0.0-M1
    • wicket
    • 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

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: