This file is indexed.

/usr/share/syncevolution/xml/scripting/04vcard-photo-value.xml is in syncevolution-common 1.4-1ubuntu4.

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
    <macro name="VCARD_INCOMING_PHOTO_VALUE_SCRIPT"><![CDATA[
      // Ensure that PHOTO_VALUE is set to "binary" if not set (the default).
      // Avoids potential issues when merging.
      if (PHOTO_VALUE == EMPTY) {
          PHOTO_VALUE = "binary";
      }
      // same for PHOTO_TYPE, except that we have no good default.
      if (PHOTO_TYPE == EMPTY) {
          PHOTO_TYPE = "unknown";
      }
    ]]></macro>

    <macro name="VCARD_INCOMING_PHOTO_TYPE_SCRIPT"><![CDATA[
      // Fix PHOTO TYPE=image/jpeg (sent by Funambol).
      INTEGER pos;
      pos = RFIND(PHOTO_TYPE, "/", SIZE(PHOTO_TYPE));
      if (pos != UNASSIGNED) {
          PHOTO_TYPE = SUBSTR(PHOTO_TYPE, pos + 1);
      }
    ]]></macro>

    <macro name="VCARD_OUTGOING_PHOTO_VALUE_SCRIPT"><![CDATA[
      // Ensure that PHOTO_VALUE == "binary" is not sent (it's the default).
      if (PHOTO_VALUE == "binary") {
          PHOTO_VALUE = UNASSIGNED;
      }
      // Hide our internal photo type default.
      if (PHOTO_TYPE == "unknown") {
          PHOTO_TYPE = UNASSIGNED;
      }
    ]]></macro>