From cea58b64ee31c3b34887845bef6761edee3c6fc7 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 22 Feb 2007 01:12:32 +0000 Subject: - 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 --- comments.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'comments.php') 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 ', -- cgit v1.2.3