Actions
Bug #5878
closed![Author: Anonymous](/images/anonymous.png?1678052115)
diag_dump_states/php: State filter no longer works
Start date:
02/10/2016
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:
Description
V. 2.2.x used $_POST['filter'] to filter hte states with egrep before display.
$grepline = (isset($_POST['filter'])) ? "| /usr/bin/egrep " . escapeshellarg(htmlspecialchars($_POST['filter'])) : "";
This functionality is not present in the function pfSense_get_pf_states().
Perhaps we need to pass in an optional filter string?
Actions