This file is indexed.

/usr/share/php/xajax/xajax_js/xajax_legacy_uncompressed.js is in php-xajax 0.5-1ubuntu1.

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
64
65
66
67
68
69
/*
	File: xajax_legacy.js
	
	Provides support for legacy scripts that have not been updated to the
	latest syntax.
	
	Title: xajax legacy support module
	
	Please see <copyright.inc.php> for a detailed description, copyright
	and license information.
*/

/*
	@package xajax
	@version $Id: xajax_legacy_uncompressed.php 327 2007-02-28 16:55:26Z calltoconstruct $
	@copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson
	@copyright Copyright (c) 2008-2009 by Joseph Woolley, Steffen Konerow, Jared White  & J. Max Wilson
	@license http://www.xajaxproject.org/bsd_license.txt BSD License
*/

try
{
	/*
		Class: xajax.legacy
	*/
	if ('undefined' == typeof xajax)
		throw { name: 'SequenceError', message: 'Error: xajax core was not detected, legacy module disabled.' }

	if ('undefined' == typeof xajax.legacy)
		xajax.legacy = {}

	/*
		Function: xajax.legacy.call
		
		Convert call parameters from the 0.2.x syntax to the new *improved*
		call format.
		
		Parameters: 
			sFunction - (string): Registered PHP Functionname to be called
			objParametes - (object): Paramter object for the request.
		
		This is a wrapper function around the standard <xajax.call> function.
	*/
	xajax.legacy.call = xajax.call;
	xajax.call = function(sFunction, objParameters) {
		var oOpt = {}
		oOpt.parameters = objParameters;
		if (undefined != xajax.loadingFunction) {
			if (undefined == oOpt.callback)
				oOpt.callback = {}
			oOpt.callback.onResponseDelay = xajax.loadingFunction;
		}
		if (undefined != xajax.doneLoadingFunction) {
			if (undefined == oOpt.callback)
				oOpt.callback = {}
			oOpt.callback.onComplete = xajax.doneLoadingFunction;
		}
		return xajax.legacy.call(sFunction, oOpt);
	}

	/*
		Boolean: isLoaded
		
		true - Indicates that the <xajax.legacy> module is loaded.
	*/
	xajax.legacy.isLoaded = true;
} catch (e) {
	alert(e.name + ': ' + e.message);
}