0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-19 12:03:53 +00:00
salesagility_SuiteCRM/include/SugarTheme
Christoph Reiter c36c6f576d Fix Content-Type header missing in some cases for the getImage entry point
The getImage entry point only handled setting the correct mime type for
gif and png images. In case of svg images (for example the icon left of attachments in
the email template editor) the returned content type was text which made firefox
show an error and not display the image.

Fix this by adding mime types for all supported image extensions in SugarTheme
and using that in the getImage end point.

This also adds some basic tests for this new API.
2019-03-12 10:55:44 +01:00
..
cssmin.php @PSR2 2018-07-24 15:42:24 +01:00
getImage.php Fix Content-Type header missing in some cases for the getImage entry point 2019-03-12 10:55:44 +01:00
SugarSprites.php Copyright notice update - Hotfix 2018-08-01 20:14:25 +01:00
SugarTheme.php Fix Content-Type header missing in some cases for the getImage entry point 2019-03-12 10:55:44 +01:00
SugarThemeRegistry.php single_blank_line_at_eof 2018-07-19 11:38:09 +01:00