mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
fixes #559, escape quick search chars before display
This commit is contained in:
parent
309a079e39
commit
7b2315a88b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ $search = get_search_array($_GET['search_id']);
|
||||||
|
|
||||||
if (isset($search['q']))
|
if (isset($search['q']))
|
||||||
{
|
{
|
||||||
$template->append( 'search_words', $search['q'] );
|
$template->append( 'search_words', htmlspecialchars($search['q']) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue