summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_hostname.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/services_captiveportal_hostname.php')
-rwxr-xr-xusr/local/www/services_captiveportal_hostname.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal_hostname.php b/usr/local/www/services_captiveportal_hostname.php
index f9b2a8a..e39d529 100755
--- a/usr/local/www/services_captiveportal_hostname.php
+++ b/usr/local/www/services_captiveportal_hostname.php
@@ -98,7 +98,7 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<form action="services_captiveportal_hostname.php" method="post">
-<input type="hidden" name="zone" id="zone" value="<?=$cpzone;?>" />
+<input type="hidden" name="zone" id="zone" value="<?=htmlspecialchars($cpzone);?>" />
<?php if ($savemsg) print_info_box($savemsg); ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
OpenPOWER on IntegriCloud