diff options
author | rub <rub@piwigo.org> | 2007-06-07 18:50:25 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-06-07 18:50:25 +0000 |
commit | 3fbc92f61e1cf362982d3e9697bf5261868cbb2c (patch) | |
tree | 11f9f0500c15456b16fa1b0aeca82994a4c05b5e /include/common.inc.php | |
parent | 182fb00f8f7873d220ab8502a31357f9245fbf8f (diff) |
Resolved issue 0000702: Code Injection with picture comment
git-svn-id: http://piwigo.org/svn/trunk@2030 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 847a52b87..db7546da7 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -242,5 +242,6 @@ if (isset($conf['header_notes'])) // default event handlers add_event_handler('render_comment_content', 'htmlspecialchars'); add_event_handler('render_comment_content', 'parse_comment_content'); +add_event_handler('render_comment_author', 'strip_tags'); trigger_action('init'); ?> |