Skip to content

Commit

Permalink
urlencode() the tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 6, 2016
1 parent d37972b commit a4bb9af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Application.php
Expand Up @@ -107,8 +107,8 @@ public function sidebar($sidebar)
$tagger = $GLOBALS['injector']->getInstance('Trean_Tagger');
$tags = $tagger->listBookmarkTags();
natcasesort($tags);
foreach ($tags as $tag) {
$url = Horde::url("tag/$tag");
foreach ($tags as $tag) {;
$url = Horde::url('tag/' . urlencode($tag));
$row = array(
'url' => $url,
'cssClass' => 'trean-tag',
Expand Down

0 comments on commit a4bb9af

Please sign in to comment.