Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-337

DOC: Operator OR needs to be encoded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • None
    • 2.2.9
    • delivery
    • None

    Description

      Reproduce
      Perform a REST request using the OR ("|") operator such as:

      https://demoauthor.magnolia-cms.com/.rest/delivery/pagesWithComponents/v1?@name=tour|basel
      

      Expected
      Operator works as described on the documentation and values are returned. But the pipe character is illegal.

      Actual
      Error message is returned:

      {"error":\{"code":"unknown","message":"Illegal character in query at index 84: https://demoauthor.magnolia-cms.com/.rest/delivery/pagesWithComponents/v1?@name=tour|basel"}}
      

      The docs should indicate that a pipe | character needs to be encoded to work properly.

      https://demoauthor.magnolia-cms.com/.rest/delivery/pagesWithComponents/v1?@name=tour%7Cbasel
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                mdrapela Martin DrĂ¡pela
                rgaona Roberto Gaona
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD