Apologies if this is a duplicate posting, I've searched extensively and cannot find either this question or a solution, or even to know if this is really a problem.
I find a LOT of search queries performed on my site where the person or bot is searching for terms like "index/\think\app/invokefunction" and other similar terms. There are obviously no results shown, but the quantity of these searches are overwhelming my search logs, which I use to help me improve my site's content and SEO.
I would ideally like to just ban all special characters (such as / \ ? [] et al) from the search form input field.
So my questions are:
- is this a potentially security-related problem I should be concerned about?
- can I ban such characters in the search form?
- if so, how?
I am not a classically-trained coder but I am very good at following instructions!
Any advice would be appreciated, thanks!