Search found 1 match
- Wed Dec 04, 2024 10:15 am
- Forum: Bug reports
- Topic: Popular search on the home page showing and storing SQL injection statements
- Replies: 3
- Views: 7848
Re: Popular search on the home page showing and storing SQL injection statements
you could add some kind of validation to the forms
here is one suggestion but not the greatest since the patterns could change.
then run this code on the search term before acting on the search and if it passes then execute the search.
function validateSearchInput($input) {
// Convert to ...