@ -254,7 +254,7 @@ class TorrentController extends AbstractController
{
if (in_array($keyword, $query))
$keywords[] = urlencode($keyword);
$keywords[] = $keyword;
}
@ -45,7 +45,7 @@
{% if torrent.keywords %}
<div class="margin-b-16-px">
{% for keyword in torrent.keywords %}
<a href="{{ path('torrent_search', { query : keyword }) }}">
<a href="{{ path('torrent_search', { query : keyword | url_encode(true) }) }}">
#{{ keyword }}
</a>
{% endfor %}