summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:42:07 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:42:07 -0400
commit55f6b38bca7721dc371d2d0df59a3fd5d8fa5eb7 (patch)
treee17aa567a070eca3bf8c19a46d5e0b1061a4ed03
parentb29a65a493695797472e5483c5cccc3583f42809 (diff)
downloadpfsense-55f6b38bca7721dc371d2d0df59a3fd5d8fa5eb7.zip
pfsense-55f6b38bca7721dc371d2d0df59a3fd5d8fa5eb7.tar.gz
Encoding in pkg_mgr_settings.php
-rw-r--r--usr/local/www/pkg_mgr_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_settings.php b/usr/local/www/pkg_mgr_settings.php
index 040f789..c222d28 100644
--- a/usr/local/www/pkg_mgr_settings.php
+++ b/usr/local/www/pkg_mgr_settings.php
@@ -133,7 +133,7 @@ function enable_altpkgrepourl(enable_over) {
<tr>
<td><?=gettext("Base URL:");?></td>
<td>
- <input name="pkgrepourl" type="text" class="formfld url" id="pkgrepourl" size="64" value="<?php if ($curcfg['xmlrpcbaseurl']) echo $curcfg['xmlrpcbaseurl']; else echo $g['']; ?>" />
+ <input name="pkgrepourl" type="text" class="formfld url" id="pkgrepourl" size="64" value="<?php if ($curcfg['xmlrpcbaseurl']) echo htmlspecialchars($curcfg['xmlrpcbaseurl']); else echo $g['']; ?>" />
</td>
</tr>
</table>
OpenPOWER on IntegriCloud