Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9568

Escaping issue when passing queries to ElasticSearch from the UI

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      For example the following doesn't work:

      $services.activeinstalls.getInstallCount("distributionId:""org.xwiki.enterprise:xwiki-enterprise-web""")
      

      This is because the getInstallCount API should JSON-escape the passed query.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: