mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 19:23:01 +02:00
fixes #559, escape quick search chars before display
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ $search = get_search_array($_GET['search_id']);
|
||||
|
||||
if (isset($search['q']))
|
||||
{
|
||||
$template->append( 'search_words', $search['q'] );
|
||||
$template->append( 'search_words', htmlspecialchars($search['q']) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user