The file supported/location.pt.inc contains an invisible Byte Order Marker (BOM) before the leading <?php tag that can cause problems with Services, Webform or any other page that includes it.
You can view these characters with the command (the first 3 before the <?php appears):
$ od -ah supported/location.pt.inc | head -2
0000000 ? ? ? < ? p h p nl nl / * * nl sp *
bbef 3cbf 703f 7068 0a0a 2a2f 0a2a 2a20
For reference and discussion, refer to Duplicate_Role: Module file has BOM (byte order mark) at beginning of file for a similar issue in the Duplicate_Role module.
The attached patch removes these characters from the file (even though they may not be visible in the patch file visually). After the applying patch you should see the BOM removed:
$ od -ah supported/location.pt.inc | head -2
0000000 < ? p h p nl nl / * * nl sp * sp @ f
3f3c 6870 0a70 2f0a 2a2a 200a 202a 6640
Comment | File | Size | Author |
---|---|---|---|
#2 | location-remove_bom-2693719-2.patch | 211 bytes | diamondsea |
|
Comments
Comment #2
diamondseaPatch to remove BOM characters
Comment #3
diamondseaComment #4
diamondseaComment #5
legolasboRetesting to see if the patch still applies correctly
Comment #6
jacob.embree CreditAttribution: jacob.embree at St. Louis Integration commented#2 indeed removes the BOM.
Comment #7
diamondseaDo you require any additional confirmation to commit this?