This file is indexed.

/usr/share/koji-web/scripts/notificationedit.chtml is in koji-servers 1.10.0-1.

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
#from kojiweb import util

#include "includes/header.chtml"

  #if $notif
  <h4>Edit notification</h4>
  #else
  <h4>Create notification</h4>
  #end if

  <form action="#if $notif then 'notificationedit' else 'notificationcreate'#">
    $util.authToken($self, form=True)
    #if $notif
    <input type="hidden" name="notificationID" value="$notif.id"/>
    #end if
    <table>
      <tr>
        <th>Package</th>
        <td>
          <select name="package">
            <option value="all"#if $notif and not $notif.package_id then ' selected="selected"' else ''#>all</option>
            #for $package in $packages
            <option value="$package.package_id"#if $notif and $notif.package_id == $package.package_id then ' selected="selected"' else ''#>$package.package_name</option>
            #end for
          </select>
        </td>
      </tr>
      <tr>
        <th>Tag</th>
        <td>
          <select name="tag">
            <option value="all"#if $notif and not $notif.tag_id then ' selected="selected"' else ''#>all</option>
            #for $tag in $tags
            <option value="$tag.id"#if $notif and $notif.tag_id == $tag.id then ' selected="selected"' else ''#>$tag.name</option>
            #end for
          </select>
        </td>
      </tr>
      <tr>
        <th>Success Only?</th>
        <td><input type="checkbox" name="success_only" value="yes"#if $notif and $notif.success_only then ' checked="checked"' else ''#/></td>
      </tr>
      <tr>
        <td>
          #if $notif
          <button type="submit" name="save" value="Save">Save</button>
          #else
          <button type="submit" name="add" value="Add">Add</button>
          #end if
        </td>
        <td><button type="submit" name="cancel" value="Cancel">Cancel</button></td>
      </tr>
    </table>
  </form>

#include "includes/footer.chtml"