How do I sanitize my custom search code
-
On a website I have the search function of WordPress. Well the problem is that here code can be filled in which damage can be caused to the website. Is there a possibility to easily catch this?
For example, you can paste </span> <script> alert (1) </script> into the search field and an alert box will appear.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I sanitize my custom search code’ is closed to new replies.