Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21325

View parameters parsing transforms multiple slashes into one slash

    Details

      Description

      when the url includes unordered parameters in the format http://something.com/(url)/value, if the value is "http://something", this value is not handled properly by the view parser.

      to reproduce:

      • insert in any template this code: {$view_parameters.url}
      • navigate to any page that uses the modified template
      • add at the end of the url (url)/test.com
      • clear caches, refresh page the value shows exactly as entered in the browser
      • change the end to (url)/http://test.com
      • the value shows as "http:/test.com"
      • note that there is a forward slash missing in the value displayed

        Activity

        Show
        Damien Pobel (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/701
        Show
        Damien Pobel (Inactive) added a comment - - edited Fixed in ezpublish-legacy: master: http://github.com/ezsystems/ezpublish-legacy/commit/3cd6ea9d3f471031b0a5bb000a9f679168fc0b5f
        Hide
        Marcos Loureiro (Inactive) added a comment -

        QA Approved

        Show
        Marcos Loureiro (Inactive) added a comment - QA Approved

          People

          • Assignee:
            Unassigned
            Reporter:
            Paulo Bras (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 5 hours, 30 minutes
              5h 30m