mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 17:02:17 +02:00
Resolved issue 0000702: Code Injection with picture comment
git-svn-id: http://piwigo.org/svn/trunk@2030 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user