Encode hostname in services_acb.php before use. Fixes #9584

This commit is contained in:
jim-p 2019-06-13 13:09:36 -04:00
parent 45f9575396
commit fe482ccc1e

View File

@ -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 }