Project

General

Profile

Bug #5878

diag_dump_states/php: State filter no longer works

Added by Steve Beaver over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Diagnostics
Target version:
Start date:
02/10/2016
Due date:
% Done:

100%

Estimated time:
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?

Associated revisions

Revision df074d23 (diff)
Added by Luiz Souza over 3 years ago

Fix the state filter after the conversion to pfSense_get_pf_states(). Ticket #5878

History

#1 Updated by Chris Buechler over 3 years ago

  • Status changed from New to Confirmed

#2 Updated by Luiz Souza over 3 years ago

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

Fixed now. Sorry for the breakage.

#3 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

works. Interface is a nice addition too

Also available in: Atom PDF