Escape search query text

This commit is contained in:
snipe 2016-04-19 20:22:37 -07:00
parent b2e5fa84ea
commit 4efc30c63e

View file

@ -1327,7 +1327,7 @@ class AssetsController extends Controller
->Hardware();
if (Input::has('search')) {
$assets = $assets->TextSearch(Input::get('search'));
$assets = $assets->TextSearch(e(Input::get('search')));
}
if (Input::has('offset')) {