mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
diagnostics/log - add colon [:] to acceptable query characters, closes https://github.com/opnsense/core/issues/7215
This commit is contained in:
parent
20e9bdc459
commit
33894fc6a7
@ -47,7 +47,7 @@ class LogController extends ApiControllerBase
|
||||
// create filter to sanitize input data
|
||||
$filter = new Filter([
|
||||
'query' => function ($value) {
|
||||
return preg_replace("/[^0-9,a-z,A-Z, ,*,\-,_,.,\#]/", "", $value);
|
||||
return preg_replace("/[^0-9,a-z,A-Z, ,*,\-,_,.,\#,\:]/", "", $value);
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user