Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added filtering to the testlog search string
  • Loading branch information
pmeenan committed Jul 15, 2015
1 parent 072ed46 commit 225b429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/testlog.php
Expand Up @@ -17,7 +17,7 @@
$days = (int)$_GET["days"];
$from = $_GET["from"] ?: 'now';
$filter = $_GET["filter"];
$filterstr = $filter ? strtolower($filter) : null;
$filterstr = $filter ? preg_replace('/[^a-zA-Z0-9 \.\(\))\-\+]/', '', strtolower($filter)) : null;
$onlyVideo = !empty($_REQUEST['video']);
$all = !empty($_REQUEST['all']);
$repeat = !empty($_REQUEST['repeat']);
Expand Down

0 comments on commit 225b429

Please sign in to comment.