Uploaded image for project: 'Creative Pro by Nuxeo'
  1. Creative Pro by Nuxeo
  2. NBM-1097

Escape document path when calling a page provider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.4
    • Component/s: Platform, UI

      Description

      For example, when calling this page provider

      https://nbm-staging.nuxeo.io/nuxeo/api/v1/search/pp/list_my_tasks_for_project/execute?currentPageIndex=0&pageSize=0&projectPath=%2Fapricot%2FProjectContainer%2FLisa%27s%20test%20project&assignee=Michele%40nbm.com

      The parameter projectPath is /apricot/ProjectContainer/Lisa's test project and the single quote breaks the query. It must be escaped to avoid breaking the calls to the page providers.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: