This file is indexed.

/usr/share/horde/gollem/js/selectlist.js is in php-horde-gollem 3.0.7-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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
 * Provides the javascript for the selectlist.php script.
 *
 * See the enclosed file COPYING for license information (LGPL). If you
 * did not receive this file, see http://www.horde.org/licenses/lgpl21.
 */

var Gollem_Selectlist = {

    returnID: function()
    {
        var formid = $F('formid'),
            field = parent.opener.document[formid].selectlist_selectid,
            field2 = parent.opener.document[formid].actionID;

        if (parent.opener.closed || !field || !field2) {
            alert(GollemText.opener_window);
            window.close();
            return;
        }

        field.value = $F('cacheid');
        field2.value = 'selectlist_process';

        parent.opener.document[formid].submit();
        window.close();
    },

    clickHandler: function(e)
    {
        if (e.isRightClick()) {
            return;
        }

        var id, tmp,
            elt = e.element();

        while (Object.isElement(elt)) {
            id = elt.readAttribute('id');

            switch (id) {
            case 'addbutton':
                $('actionID').setValue('select');
                $('selectlist').submit();
                return;

            case 'cancelbutton':
                window.close();
                return;

            case 'donebutton':
                this.returnID();
                return;
            }

            elt = elt.up();
        }
    },

    onDomLoad: function()
    {
        $('selectlist').observe('click', this.clickHandler.bindAsEventListener(this));
    }

};

document.observe('dom:loaded', Gollem_Selectlist.onDomLoad.bind(Gollem_Selectlist));