This file is indexed.

/usr/share/koji-web/scripts/buildtargetedit.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
57
58
59
60
61
62
63
#from kojiweb import util

#include "includes/header.chtml"

  #if $target
  <h4>Edit target $target.name</h4>
  #else
  <h4>Create build target</h4>
  #end if

  <form action="#if $target then 'buildtargetedit' else 'buildtargetcreate'#">
    $util.authToken($self, form=True)
    #if $target
    <input type="hidden" name="targetID" value="$target.id"/>
    #end if
    <table>
      <tr>
        <th>Name</th>
      <td>
        <input type="text" name="name" size="50" value="#if $target then $target.name else ''#"/>
      </td>
    </tr>
    #if $target
    <tr>
      <th>ID</th><td>$target.id</td>
    </tr>
    #end if
    <tr>
      <th>Build Tag</th>
      <td>
        <select name="buildTag">
          <option value="">select tag</option>
          #for $tag in $tags
          <option value="$tag.id"#if $target and $target.build_tag == $tag.id then ' selected="selected"' else ''#>$tag.name</option>
          #end for
        </select>
      </td>
    </tr>
    <tr>
      <th>Destination Tag</th>
      <td>
        <select name="destTag">
          <option value="">select tag</option>
          #for $tag in $tags
          <option value="$tag.id"#if $target and $target.dest_tag == $tag.id then ' selected="selected"' else ''#>$tag.name</option>
          #end for
        </select>
      </td>
    </tr>
    <tr>
      <td>
        #if $target
        <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"