Issue description
Searching for a single / character (as opposed to a term containing a slash, e.g. 2/3) results in a status 400 return and a message that a search term must be supplied.
This appears to be related to IIS request filtering as running against the API directly (i.e. with no proxy) results in the expected output. Oddly, sitewide search does return search results, even though it has an identical web.config and similar route handling.
ESTIMATE 20
Steps to reproduce the issue
- Browse to https://webapis-dev.cancer.gov/bestbets/v1/BestBets/live/en/%2F
collection = "live", language = "en", term = %2F (url encoded / character.)
What's the expected result?
- Search results (likely an empty array).
What's the actual result?
- A JSON element containing the message, "You must apply a search term."
Additional details / screenshot
Related Tickets
Issue description
Searching for a single
/character (as opposed to a term containing a slash, e.g.2/3) results in a status 400 return and a message that a search term must be supplied.This appears to be related to IIS request filtering as running against the API directly (i.e. with no proxy) results in the expected output. Oddly, sitewide search does return search results, even though it has an identical web.config and similar route handling.
Steps to reproduce the issue
collection = "live", language = "en", term = %2F (url encoded
/character.)What's the expected result?
What's the actual result?
Additional details / screenshot
Related Tickets