From 8902faf97b86a549aeb87c4e040668de627c4d18 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 19 Apr 2016 09:14:34 +0200 Subject: [PATCH] (ids) remove disableOutputCleansing --- .../app/controllers/OPNsense/IDS/Api/SettingsController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php b/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php index 32fdda941..150c17cb7 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php @@ -146,8 +146,6 @@ class SettingsController extends ApiControllerBase */ public function getRuleInfoAction($sid) { - // disable output cleansing, this method delivers html formatted output. - $this->disableOutputCleansing(); // request list of installed rules $backend = new Backend(); $response = $backend->configdpRun("ids query rules", array(1, 0,'sid/'.$sid)); @@ -225,8 +223,6 @@ class SettingsController extends ApiControllerBase */ private function listInstallableRules() { - // disable output cleansing, almost all data is preset in static xmls, the rest is strictly validated - $this->disableOutputCleansing(); $result = array(); $backend = new Backend(); $response = $backend->configdRun("ids list installablerulesets");