X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=8f0179e5e3984e0251488b0fc08cc898a1f33053;hb=d14555a3dfdc0d16badefcc54054802ae83752a4;hp=fb00a9fa3adb8d302f712fcbe7d7fc2a694409f4;hpb=a59bbf50d7530d7e82a91896a210b9da49cb1568;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index fb00a9fa..8f0179e5 100644 --- a/index.php +++ b/index.php @@ -840,7 +840,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history) } $data = array( - 'search_tags' => implode(' ', $filteringTags), + 'search_tags' => implode(' ', escape($filteringTags)), 'tags' => $tagList, ); $pluginManager->executeHooks('render_tagcloud', $data, array('loggedin' => isLoggedIn())); @@ -870,7 +870,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history) } $data = [ - 'search_tags' => implode(' ', $filteringTags), + 'search_tags' => implode(' ', escape($filteringTags)), 'tags' => $tags, ]; $pluginManager->executeHooks('render_taglist', $data, ['loggedin' => isLoggedIn()]);