You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Search API request for "[]"square brackets in "Search Projects" results in to 400 HTTP Status Code. So, the search fails and due to which it lists out all the projects in the left side pane.
To Reproduce / Actual Behavior
Steps to reproduce the behavior:
Check the left hand side pane containing "Challenge Editor" Heading.
Open browser inspector and click on "Network" tab
Search for "[]"(square brackets) in "Search Projects" text box
Check the response code of API request for search in the "Network" tab of Inspector
Check the Search results under the challenge Editor
Expected Behavior
Search API request should return a 200 status code without crashing and the search should list only project which contains square brackets in their name. If none of the project names have square brackets in their name then it must not show anything.
Screenshots
Desktop (please complete the following information):
OS: macOS Mojave Version 10.14.6
Browser : Chrome
Version 81.0.4044.138 (Official Build) (64-bit)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Probably best to fix this at the project-api level, just in case. Seems like this could be a potential attack vector, based on how that text is being sent right to ES.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Search API request for "[]"square brackets in "Search Projects" results in to 400 HTTP Status Code. So, the search fails and due to which it lists out all the projects in the left side pane.
To Reproduce / Actual Behavior
Steps to reproduce the behavior:
Expected Behavior
Search API request should return a 200 status code without crashing and the search should list only project which contains square brackets in their name. If none of the project names have square brackets in their name then it must not show anything.
Screenshots


Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: