filter, rules page. html escape dynamic entries to display aliases. ref https://github.com/opnsense/core/issues/3581

This commit is contained in:
Ad Schellevis 2019-07-18 12:59:35 +02:00
parent 3987cd2097
commit 8aedc0f0d3

View File

@ -634,6 +634,7 @@ $( document ).ready(function() {
foreach ($fw->iterateFilterRules() as $rule):
if ($rule->getInterface() == $selected_if && $rule->isEnabled()):
$filterent = $rule->getRawRule();
legacy_html_escape_form_data($filterent);
$rule_stats = !empty($rule->getLabel()) ? $all_rule_stats[$rule->getLabel()] : array();?>
<tr class="internal-rule" style="display: none;">
<td><i class="fa fa-magic"></i></td>