This file is indexed.

/usr/share/civicrm/ang/crmCxn.js is in civicrm-common 4.7.1+dfsg-2ubuntu1.

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
(function (angular, $, _) {

  angular.module('crmCxn', [
    'crmUtil', 'ngRoute', 'ngSanitize', 'ui.utils', 'crmUi', 'dialogService'
  ]);

  angular.module('crmCxn').config([
    '$routeProvider',
    function ($routeProvider) {
      $routeProvider.when('/cxn', {
        templateUrl: '~/crmCxn/ManageCtrl.html',
        controller: 'CrmCxnManageCtrl',
        resolve: {
          apiCalls: function(crmApi){
            var reqs = {};
            reqs.cxns = ['Cxn', 'get', {sequential: 1}];
            reqs.appMetas = ['CxnApp', 'get', {sequential: 1, return: ['id', 'title', 'desc', 'appId', 'appUrl', 'perm']}];
            reqs.cfg = ['Cxn', 'getcfg', {}];
            reqs.sysCheck = ['System', 'check', {}]; // FIXME: filter on checkCxnOverrides
            return crmApi(reqs);
          }
        }
      });
    }
  ]);

})(angular, CRM.$, CRM._);