[geeklog-hg] geeklog: Fixed comment title doesn't like a single quote ' when ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Jun 22 03:13:55 EDT 2013


changeset 9112:377a004e98e5
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/377a004e98e5
user: dengen
date: Sat Jun 22 16:13:00 2013 +0900
description:
Fixed comment title doesn't like a single quote ' when you click Preview (bug #0001623)

diffstat:

 system/lib-comment.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 952f21880172 -r 377a004e98e5 system/lib-comment.php
--- a/system/lib-comment.php	Sat Jun 22 13:10:11 2013 +0900
+++ b/system/lib-comment.php	Sat Jun 22 16:13:00 2013 +0900
@@ -2321,7 +2321,7 @@
     }
 
     if (!empty($_REQUEST['title'])) {
-        $title = COM_applyFilter($_REQUEST['title']);
+        $title = $_REQUEST['title']; // apply filters later in CMT_commentForm or CMT_saveComment
     }
 
     if (!empty($_REQUEST[CMT_UID])) {



More information about the geeklog-cvs mailing list