diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-02-22 01:12:32 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-02-22 01:12:32 +0000 |
commit | cea58b64ee31c3b34887845bef6761edee3c6fc7 (patch) | |
tree | 66e631cdcad99b2189f57627fc77806fc3ca644f /comments.php | |
parent | 64108c075b87b5b4815f451909dd9d9b3a7f545a (diff) |
- user comments are not saved in the database with htmlspecialchars anymore
- web service: added the possibility to enter a user comment using the service...
- new comment functions from picture_comment.inc.php
git-svn-id: http://piwigo.org/svn/trunk@1849 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'comments.php')
-rw-r--r-- | comments.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/comments.php b/comments.php index 432dad08a..0c0735447 100644 --- a/comments.php +++ b/comments.php @@ -109,10 +109,6 @@ if (isset($_GET['author']) and !empty($_GET['author'])) // search a substring among comments content if (isset($_GET['keyword']) and !empty($_GET['keyword'])) { - // fors some odd reason comment content is htmlspecialchars in the database - $keyword = addslashes( - htmlspecialchars( stripslashes($_GET['keyword']), ENT_QUOTES) - ); $page['where_clauses'][] = '('. implode(' AND ', |