summaryrefslogtreecommitdiff
path: root/motions.php
diff options
context:
space:
mode:
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-05-27 07:14:23 +0000
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-05-27 07:14:23 +0000
commitea4bee9a277053dd15f86d6119d553214056108b (patch)
tree66d5d46f503a2232d151c383c93cb864e9e91f98 /motions.php
parent4ce4fa2e05b3a1a0dd56996ef5b540196c96760a (diff)
downloadcacert-boardvoting-ea4bee9a277053dd15f86d6119d553214056108b.tar.gz
cacert-boardvoting-ea4bee9a277053dd15f86d6119d553214056108b.tar.xz
cacert-boardvoting-ea4bee9a277053dd15f86d6119d553214056108b.zip
php functions for escaping
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@42 d4452222-2f33-11de-9270-010000000000
Diffstat (limited to 'motions.php')
-rw-r--r--motions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/motions.php b/motions.php
index a4df212..fe91f39 100644
--- a/motions.php
+++ b/motions.php
@@ -40,8 +40,8 @@
</td>
<td>
<i><a href="motions.php?id=<?php echo $row['tag'].'">'.$row['tag']; ?></a></i><br/>
- <b><?php echo $row['title']; ?></b><br/>
- <pre><?php echo $row['content']; ?></pre>
+ <b><?php echo htmlentities($row['title']); ?></b><br/>
+ <pre><?php echo htmlspecialchars($row['content']); ?></pre>
<br/>
<i>Due: <?php echo($row['due']); ?> UTC</i><br/>
<i>Proposed: <?php echo($row['proposer']); ?> (<?php echo($row['proposed']); ?> UTC)</i><br/>