This file is indexed.

/usr/share/netdisco/html/search.html is in netdisco-frontend 1.0-2.

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
You are being redirected to <A HREF="<%$dest%>">Your Search</A>.
<%args>
$stype=>'device'
$s=>''
</%args>
<%init>
my $page  = 'device_search.html';
my $query = 'text';
if ($stype eq 'vlan') {
    $query = 'specific=vlan_dev&vlan';
}
if ($stype eq 'node') {
    $page  = 'node.html';
    $query = 'node';
}
my $dest = "$page?$query=$s";

# save search term for display
if (defined $s and length $s) {
    $m->session->{_s_term} = $s;
    $m->session->{_s_type} = $stype;
}

$m->redirect($dest);
</%init>
<%method title>
- Search Redirect \
</%method>
%# $Id: search.html,v 1.4 2009/04/15 00:58:40 olly_g Exp $
%# vim:syntax=mason