Sanitize input

This commit is contained in:
David Saez 2022-02-22 08:30:21 +01:00
parent a4e12e5cfa
commit 6cd5261a7d

View file

@ -35,7 +35,7 @@ $resout = extract_block($out, 'results');
if (isSet($_GET['query'])) if (isSet($_GET['query']))
{ {
$query = $_GET['query']; $query = strip_tags($_GET['query']);
$output = empty($_GET['output']) ? '' : $_GET['output']; $output = empty($_GET['output']) ? '' : $_GET['output'];