This file is indexed.

/usr/share/horde/trean/app/controllers/BrowseByTag.php is in php-horde-trean 1.1.4-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
class Trean_BrowseByTag_Controller extends Horde_Controller_Base
{
    public function processRequest(Horde_Controller_Request $request, Horde_Controller_Response $response)
    {
        $path = $request->getPath();
        $pathParts = explode('/', $path);
        $tag = array_pop($pathParts);

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

        $page_output = $this->getInjector()->getInstance('Horde_PageOutput');
        $notification = $this->getInjector()->getInstance('Horde_Notification');

        if ($GLOBALS['conf']['content_index']['enabled']) {
            $topbar = $this->getInjector()->getInstance('Horde_View_Topbar');
            $topbar->search = true;
            $topbar->searchAction = Horde::url('search.php');
        }

        Trean::addFeedLink();
        $title = sprintf(_("Tagged with %s"), urldecode($tag));
        $page_output->header(array(
            'title' => $title
        ));
        $notification->notify(array('listeners' => 'status'));
        echo $view->render($title);
        $page_output->footer();
    }
}