Search for "?" fails
https://dev.edx.org/course?search_query=%3F doesn't load. It should load, even if it loads the no results view.
Make sure search term "?" and other strange search terms return proper results. In the case of "?", it should return no matching results. Just like the term "ayub"
Our edX marketing codebase is fine.It sends the user query(same as typed in the search bar) to the Backbone and replacement occurs in the JQuery. In an hour, i am going to make a PR for it and I will let you know about it.
Where in the edX codebase does this happen? We shouldn't be digging through the source of jQuery.
if we make a call after encoding the search query then our marketing search doesn't halt. I am verifying it by encoding different inputs.
below is the code where replacement happens:
Where is the text being converted to a timestamp? It seems that is where the solution lies. Adding branching for special characters is unsustainable. The front-end should pass the user input directly to the backend.