aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-10-11 00:10:41 +0000
committerrvelices <rv-github@modusoptimus.com>2007-10-11 00:10:41 +0000
commit36e0e6e8f1a455367f363048fc1825aebbd67eee (patch)
tree35a00477557663dbf05d3d5ae28c14ac0fac7d69 /comments.php
parent5aafffb22b39c7347e261e2a7f56ba541e5f079e (diff)
- changed htmlentities to htmlspecialchars in comments.php (utf-8 issue)
- web service explorer in utf-8 - removed warning in function load_language - feature: show_queries also shows number of selected rows or number of affected rows git-svn-id: http://piwigo.org/svn/trunk@2134 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--comments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/comments.php b/comments.php
index e65662439..aabb2f396 100644
--- a/comments.php
+++ b/comments.php
@@ -181,8 +181,8 @@ $template->assign_vars(
'L_COMMENT_TITLE' => $title,
'F_ACTION'=>PHPWG_ROOT_PATH.'comments.php',
- 'F_KEYWORD'=>@htmlentities(stripslashes($_GET['keyword'])),
- 'F_AUTHOR'=>@htmlentities(stripslashes($_GET['author'])),
+ 'F_KEYWORD'=>@htmlspecialchars(stripslashes($_GET['keyword'])),
+ 'F_AUTHOR'=>@htmlspecialchars(stripslashes($_GET['author'])),
'U_HOME' => make_index_url(),
)