Issue Bug Closed

#32834Remove BOM in getUrl()

Steffen Gebert 12/26/11, 13:35 updated 01/27/14, 14:31

Description

UTF Byte Order Mark (BOM) can cause trouble, when they occur at the beginning of a file and TYPO3 functions don’t skip this.

t3lib_div::getUrl() should just return the file’s contents with BOM stripped (if there was one..). IMHO it’s more metadata than part of the content.

See also Wikipedia: BOM

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.