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

DOC: Operator OR needs to be encoded

XMLWordPrintable

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

      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
      

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD