summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:41:13 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:41:13 -0400
commit3642b3489d0833c1206463e252e38ba200bf9c02 (patch)
tree15d00b1bd6d4dd8e9367cc49e9b12a809005243d
parent1d92e91f9b22849cdf40771a39ec5c22a1022c7c (diff)
downloadpfsense-3642b3489d0833c1206463e252e38ba200bf9c02.zip
pfsense-3642b3489d0833c1206463e252e38ba200bf9c02.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 0a7d004..4665e7c 100644
--- a/usr/local/www/pkg_mgr_settings.php
+++ b/usr/local/www/pkg_mgr_settings.php
@@ -125,7 +125,7 @@ function enable_altpkgrepourl(enable_over) {
<td class="vtable">
<input name="alturlenable" type="checkbox" id="alturlenable" value="yes" onclick="enable_altpkgrepourl()" <?php if(isset($curcfg['enable'])) echo "checked=\"checked\""; ?> /> <?=gettext("Use a non-official server for packages");?> <br />
<table summary="alternative URL">
- <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['']; ?>" /></td></tr>
+ <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 htmlspecialchars($curcfg['xmlrpcbaseurl']); else echo $g['']; ?>" /></td></tr>
</table>
<span class="vexpl">
<?php printf(gettext("This is where %s will check for packages when the"),$g['product_name']);?> <a href="pkg_mgr.php"><?=gettext("System: Packages");?></a> <?=gettext("page is viewed.");?>
OpenPOWER on IntegriCloud