summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dnsmasq_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/services_dnsmasq_edit.php')
-rwxr-xr-xusr/local/www/services_dnsmasq_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dnsmasq_edit.php b/usr/local/www/services_dnsmasq_edit.php
index a80ff00..3638054 100755
--- a/usr/local/www/services_dnsmasq_edit.php
+++ b/usr/local/www/services_dnsmasq_edit.php
@@ -170,7 +170,7 @@ include("head.inc");
<td width="78%">
<input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input class="formbtn" type="button" value="<?=gettext("Cancel");?>" onclick="history.back()">
<?php if (isset($id) && $a_hosts[$id]): ?>
- <input name="id" type="hidden" value="<?=$id;?>">
+ <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>">
<?php endif; ?>
</td>
</tr>
OpenPOWER on IntegriCloud