Search found 1 match
- Thu Jan 29, 2026 3:14 pm
- Forum: Bug reports
- Topic: Popular search on the home page showing and storing SQL injection statements
- Replies: 4
- Views: 41819
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 ...