This file is indexed.

/usr/share/php/Horde/Controller/ResponseWriter/Web.php is in php-horde-controller 2.0.1-3.

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
<?php
/**
 * @category Horde
 * @package  Controller
 * @author   James Pepin <james@bluestatedigital.com>
 * @license  http://www.horde.org/licenses/bsd BSD
 */
class Horde_Controller_ResponseWriter_Web implements Horde_Controller_ResponseWriter
{
    /**
     */
    public function writeResponse(Horde_Controller_Response $response)
    {
        foreach ($response->getHeaders() as $key => $value) {
            header("$key: $value");
        }
        $body = $response->getBody();
        if (is_resource($body)) {
            stream_copy_to_stream($body, fopen('php://output', 'a'));
        } else {
            echo $body;
        }
    }
}