mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Encode hostname in services_acb.php before use. Fixes #9584
This commit is contained in:
parent
45f9575396
commit
fe482ccc1e
@ -505,7 +505,7 @@ if (!$legacy) {
|
||||
</option>
|
||||
<?endforeach?>
|
||||
<? if ($host_not_found) { ?>
|
||||
<option value='<?=$hostname?>' SELECTED><?=$hostname?></option>
|
||||
<option value='<?=urlencode($hostname)?>' SELECTED><?=htmlspecialchars($hostname)?></option>
|
||||
<? } ?>
|
||||
</select>
|
||||
<?php }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user