Uploaded image for project: 'Statuspage'
  1. Statuspage
  2. STATUS-822

Using q= parameter on an API search with an underscore ( _ ) shows any result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • API - Status
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      Attempting to search an incident name that contains an underscore on its name results in no values.

      Steps to Reproduce

      1. Set up a Get list of incidents endpoint
      2. Add the "q" parameter
      3. Add any value with an underscore. E.g., "URL/incidents?q=test_api."

      Expected Results

      Get incidents with the "test_api" name.

      Actual Results

      Searching for "test_api" as an example would show a result of a 200 status, with the following body outcome:

      []
      

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available.

            Unassigned Unassigned
            197a524fe2c5 Leonardo Barrios
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: