From: <sy...@us...> - 2007-09-27 17:02:48
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8281 Modified Files: comments.php Log Message: [FIX]comment: must urlencode the page if the name has special character Index: comments.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/comments.php,v retrieving revision 1.78 retrieving revision 1.79 diff -u -d -r1.78 -r1.79 --- comments.php 13 Aug 2007 08:57:47 -0000 1.78 +++ comments.php 27 Sep 2007 17:02:45 -0000 1.79 @@ -118,9 +118,9 @@ if ($comments_first) { $comments_first = 0; - $comments_t_query .= "?$c_name=" . $_REQUEST["$c_name"]; + $comments_t_query .= "?$c_name=" . urlencode($_REQUEST["$c_name"]); } else { - $comments_t_query .= "&$c_name=" . $_REQUEST["$c_name"]; + $comments_t_query .= "&$c_name=" . urlencode($_REQUEST["$c_name"]); } } } |