diff options
author | Jim P <jim@pingle.org> | 2013-03-15 12:06:29 -0700 |
---|---|---|
committer | Jim P <jim@pingle.org> | 2013-03-15 12:06:29 -0700 |
commit | 35a877e46fdcc438958debe8844351040d21ee86 (patch) | |
tree | 3eb9004da9983af444a0516e288b89bd3f8750b6 | |
parent | eda6c6a5ebf71b76d4d7db08ccfa9cfb87c2576e (diff) | |
parent | ed35f9e905fd62ca4549327a1e1a7cc37d01d983 (diff) | |
download | pfsense-packages-35a877e46fdcc438958debe8844351040d21ee86.tar.gz pfsense-packages-35a877e46fdcc438958debe8844351040d21ee86.tar.bz2 pfsense-packages-35a877e46fdcc438958debe8844351040d21ee86.zip |
Merge pull request #409 from PiBa-NL/systempatches_htmlspecialchars
systempatches, fix editing patch containing html code using: htmlspecialchars
-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> |