mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
services_dyndns_edit: wrong parameter type for htmlspecialchars, closes https://github.com/opnsense/core/issues/813
This commit is contained in:
parent
445504da33
commit
9da1b92e26
@ -262,7 +262,7 @@ include("head.inc");
|
||||
$iflist = array_merge($iflist, return_gateway_groups_array());
|
||||
foreach ($iflist as $if => $ifdesc):?>
|
||||
<option value="<?=$if;?>" <?=$pconfig['interface'] == $if ? "selected=\"selected\"" : "";?>>
|
||||
<?=htmlspecialchars($ifdesc);?>
|
||||
<?=is_array($ifdesc) ? $if : htmlspecialchars($ifdesc);?>
|
||||
</option>
|
||||
|
||||
<?php
|
||||
@ -279,7 +279,7 @@ include("head.inc");
|
||||
$iflist = array_merge($iflist, return_gateway_groups_array());
|
||||
foreach ($iflist as $if => $ifdesc):?>
|
||||
<option value="<?=$if;?>" <?=$pconfig['requestif'] == $if ? "selected=\"selected\"" : "";?>>
|
||||
<?=htmlspecialchars($ifdesc);?>
|
||||
<?=is_array($ifdesc) ? $if : htmlspecialchars($ifdesc);?>
|
||||
</option>
|
||||
|
||||
<?php
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user