Skip to content

Commit

Permalink
Must urldecode() the tag now too.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 6, 2016
1 parent 1a4bc79 commit 027aebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trean/app/controllers/BrowseByTag.php
Expand Up @@ -5,7 +5,7 @@ public function processRequest(Horde_Controller_Request $request, Horde_Controll
{
$path = $request->getPath();
$pathParts = explode('/', $path);
$tag = array_pop($pathParts);
$tag = urldecode(array_pop($pathParts));

$tagBrowser = new Trean_TagBrowser($this->getInjector()->getInstance('Trean_Tagger'), $tag);
$view = new Trean_View_BookmarkList(null, $tagBrowser);
Expand Down

0 comments on commit 027aebe

Please sign in to comment.