diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2013-03-15 20:04:21 +0100 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2013-03-15 20:04:21 +0100 |
commit | ed35f9e905fd62ca4549327a1e1a7cc37d01d983 (patch) | |
tree | ccf11d1189284b3f8947dd4b5470e43acf7f4d61 /config | |
parent | 9034c74fb85eb222a512243dbaf56c8a6646061d (diff) | |
download | pfsense-packages-ed35f9e905fd62ca4549327a1e1a7cc37d01d983.tar.gz pfsense-packages-ed35f9e905fd62ca4549327a1e1a7cc37d01d983.tar.bz2 pfsense-packages-ed35f9e905fd62ca4549327a1e1a7cc37d01d983.zip |
systempatches, fix editing patch containing html code using: htmlspecialchars
Diffstat (limited to 'config')
-rw-r--r-- | config/systempatches/system_patches_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/systempatches/system_patches_edit.php b/config/systempatches/system_patches_edit.php index 260a7300..3dd5e349 100644 --- a/config/systempatches/system_patches_edit.php +++ b/config/systempatches/system_patches_edit.php @@ -165,7 +165,7 @@ include("head.inc"); <tr> <td width="22%" valign="top" class="vncell"><?=gettext("Patch Contents"); ?></td> <td width="78%" class="vtable"> - <textarea name="patch" class="" id="patch" rows="15" cols="70" wrap="off"><?=base64_decode($pconfig['patch']);?></textarea> + <textarea name="patch" class="" id="patch" rows="15" cols="70" wrap="off"><?=htmlspecialchars(base64_decode($pconfig['patch']));?></textarea> <br /> <span class="vexpl"><?=gettext("The contents of the patch. You can paste a patch here, or enter a URL/commit ID above, it can then be fetched into here automatically."); ?></span></td> </tr> <tr> |