Resolved issue 0000702: Code Injection with picture comment

Merge BSF 2029:2030 into branch-1_7

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2031 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-06-07 18:52:40 +00:00
parent d949a38624
commit fcb3c824a0
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ while ($row = mysql_fetch_assoc($result))
'&image_id='.$row['image_id'],
'ID' => $row['id'],
'TN_SRC' => $thumb,
'AUTHOR' => $row['author'],
'AUTHOR' => trigger_event('render_comment_author', $row['author']),
'DATE' => format_date($row['date'],'mysql_datetime',true),
'CONTENT' => trigger_event('render_comment_content',$row['content'])
)