This file is indexed.

/usr/share/apport/package-hooks/source_url-dispatcher.py is in url-dispatcher 0.1+16.04.20151110-0ubuntu2.

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
import os.path
from xdg.BaseDirectory import xdg_cache_home
from apport.hookutils import *

def attach_command_output(report, command_list, key):
	log = command_output(command_list)
	if not log or log[:5] == "Error":
		return
	report[key] = log 

def add_info(report):
	if not apport.packaging.is_distro_package(report['Package'].split()[0]):
		report['ThirdParty'] = 'True'
		report['CrashDB'] = 'url_dispatcher'

	dbpath = os.path.join(xdg_cache_home, 'url-dispatcher', 'urls-1.db')
	if os.path.exists(dbpath):
		attach_command_output(report, ['url-dispatcher-dump'], 'URLDispatcherDB')