This file is indexed.

/usr/share/gitit/data/templates/getuser.st is in libghc-gitit-data 0.12.1-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
<script type="text/javascript">
/* <![CDATA[ */
  \$.get("$base$/_user", {}, function(username, status) {
     \$("#logged_in_user").text(username);
     if (username == "") {  // nobody logged in
        \$("#logoutlink").hide();
        \$("#loginlink").show();
     } else {
        \$("#logoutlink").show();
        \$("#loginlink").hide();
     };
   });
/* ]]> */
</script>