Project

General

Profile

Actions

Bug #5878

closed

diag_dump_states/php: State filter no longer works

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Diagnostics
Target version:
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 #1

Updated by Chris Buechler about 8 years ago

  • Status changed from New to Confirmed
Actions #2

Updated by Luiz Souza about 8 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

Fixed now. Sorry for the breakage.

Actions #3

Updated by Chris Buechler about 8 years ago

  • Status changed from Feedback to Resolved

works. Interface is a nice addition too

Actions

Also available in: Atom PDF