[TYPO3-core] RFC #14342: t3lib_compressor also rewrites data URIs
Steffen Gebert
steffen at steffen-gebert.de
Sun May 9 19:24:03 CEST 2010
Hi,
This is a SVN patch request.
Type: Bugfix / UI Cleanup
Bugtracker references:
http://bugs.typo3.org/view.php?id=14342
Branches:
trunk
Problem:
According to RFC 2616 [1] images/files can be embedded using the data: URI
scheme.
In CSS this can be used this way:
> background-image: url("data:image/gif;base64,SOMETHING_BASE64_ENCODED")
t3lib_compressor also rewrites this URIs and considers them as a filename
while merging CSS.
Solution:
exclude the data: scheme while merging
Steffen
[1] http://tools.ietf.org/html/rfc2616
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14342.diff
Type: text/x-diff
Size: 881 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100509/c6f94b66/attachment.diff>
More information about the TYPO3-team-core
mailing list