Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9694

Typo prevents FIQL query values from being URI-encoded

    XMLWordPrintable

    Details

    • Sprint:
      Horizon - October 18th

      Description

      There is a typo that is preventing FIQL query values from being properly escaped that needs to be backported to foundation-2016+:

      @@ -123,7 +123,7 @@ function fromFiql(fiql) {
        * @returns String with reserved characters URL-encoded
        */
       function escapeSearchValue(value) {
      -       if (typeof value === 'String') {
      +       if (typeof value === 'string') {
                      return value
                              .replace('!', '%21')
                              .replace('$', '%24')
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                seth Seth Leger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: