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

Trailing slash in unordered params not removed

    XMLWordPrintable

Details

    Description

      When you invoke a custom module with unordered params and the URL ends with a slash, the slash is not removed from the value.

      Invoke URI /mymodule/myview/(myparam)/test/

      The Value of $Param['myparam'] will result in "test/". When you add more params, like /mymodule/myview/(myparam)/test/(mysecondparam)/test2, the trailing slash will be removed properly.

      This behavior seems to have changed between eZ-Publish 4.x and 5.x, which looks like a BC break.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 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 - 4 hours
                4h