Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
8902faf9
Commit
8902faf9
authored
Apr 19, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ids) remove disableOutputCleansing
parent
bd51937a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
SettingsController.php
...c/app/controllers/OPNsense/IDS/Api/SettingsController.php
+0
-4
No files found.
src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php
View file @
8902faf9
...
@@ -146,8 +146,6 @@ class SettingsController extends ApiControllerBase
...
@@ -146,8 +146,6 @@ class SettingsController extends ApiControllerBase
*/
*/
public
function
getRuleInfoAction
(
$sid
)
public
function
getRuleInfoAction
(
$sid
)
{
{
// disable output cleansing, this method delivers html formatted output.
$this
->
disableOutputCleansing
();
// request list of installed rules
// request list of installed rules
$backend
=
new
Backend
();
$backend
=
new
Backend
();
$response
=
$backend
->
configdpRun
(
"ids query rules"
,
array
(
1
,
0
,
'sid/'
.
$sid
));
$response
=
$backend
->
configdpRun
(
"ids query rules"
,
array
(
1
,
0
,
'sid/'
.
$sid
));
...
@@ -225,8 +223,6 @@ class SettingsController extends ApiControllerBase
...
@@ -225,8 +223,6 @@ class SettingsController extends ApiControllerBase
*/
*/
private
function
listInstallableRules
()
private
function
listInstallableRules
()
{
{
// disable output cleansing, almost all data is preset in static xmls, the rest is strictly validated
$this
->
disableOutputCleansing
();
$result
=
array
();
$result
=
array
();
$backend
=
new
Backend
();
$backend
=
new
Backend
();
$response
=
$backend
->
configdRun
(
"ids list installablerulesets"
);
$response
=
$backend
->
configdRun
(
"ids list installablerulesets"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment