summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-01-20 22:58:17 +0100
committerFelix Dörre <felix@dogcraft.de>2015-01-20 22:58:17 +0100
commita9194861cb96f66fb980ec96381bb5d1972dc3cd (patch)
tree8a2f42824c5b566b42cc0034a5e9085760b11380
parent1b84a19e599e5cf311a7950f955ae61fbff8a015 (diff)
downloadcacert-devel-bug-1354.tar.gz
cacert-devel-bug-1354.tar.xz
cacert-devel-bug-1354.zip
bug-1354: fix the escaping function for gpg-key-commentsbug-1354
-rw-r--r--pages/gpg/2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/gpg/2.php b/pages/gpg/2.php
index 84e11d2..dc6164f 100644
--- a/pages/gpg/2.php
+++ b/pages/gpg/2.php
@@ -64,7 +64,7 @@
<? } ?>
<td class="DataTD"><?=$row['expire']?></td>
<td class="DataTD"><a href="gpg.php?id=3&amp;cert=<?=intval($row['id'])?>"><?=sanitizeHTML($row['keyid'])?></a></td>
- <td class="DataTD"><input name="comment_<?=intval($row['id'])?>" type="text" value="<?=htmlspecialchars($row['description'])?>" /></td>
+ <td class="DataTD"><input name="comment_<?=intval($row['id'])?>" type="text" value="<?=sanitizeHTML($row['description'])?>" /></td>
<td class="DataTD"><input type="checkbox" name="check_comment_<?=intval($row['id'])?>" /></td>
</tr>
<? } ?>