mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 12:35:40 +00:00
Escape search query text
This commit is contained in:
@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user