Vaccinate search agains SQL injection

fixes #8202
Merge pull request #41 from bstroebl/fix#8202

Vaccinate search agains SQL injection