silverstripe-framework/control
Roman Schmid dda14e8959
Fix HTTP::get_mime_type with uppercase filenames.
The fallback of `HTTP::get_mime_type` (that uses a lookup instead of `finfo`) doesn't ensure the extension is converted to lowercase before the lookup. A file named `Image.JPG` will return `'application/unknown'`.
This change fixes this issue.
2017-11-16 10:56:34 +00:00
..
injector FIX Use self::inst() for Injector/Config nest methods 2017-10-25 17:48:35 +01:00
ContentNegotiator.php Set deprecation level for all changes in 3.x to 4.0 2015-06-19 13:07:41 +12:00
Controller.php Merge remote-tracking branch 'origin/3.2' into 3 2015-11-03 13:06:39 +13:00
Cookie_Backend.php remove trailing spaces in the codebase 2015-09-28 22:21:08 +13:00
Cookie.php Revert #3425 #3396 to restore deprecated functionality 2015-08-24 11:26:25 +12:00
CookieJar.php Add missing packages 2015-08-24 16:15:38 +12:00
Director.php [ss-2016-003] Hostname, IP and Protocol Spoofing through HTTP Headers 2016-02-24 11:47:16 +13:00
FlushRequestFilter.php remove trailing spaces in the codebase 2015-09-28 22:21:08 +13:00
HTTP.php Fix HTTP::get_mime_type with uppercase filenames. 2017-11-16 10:56:34 +00:00
HTTPRequest.php BUG Content-Disposition header breaks in Firefox (#4087) 2016-09-29 13:25:14 +13:00
HTTPResponse.php DOCS Update PHPDoc for SS_HTTPResponse 2016-11-14 19:02:56 +00:00
IPUtils.php add IPUtils.php to control and implement symfony IpUtils (#6062) 2016-09-26 12:44:55 +13:00
NullHTTPRequest.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
PjaxResponseNegotiator.php adding a space before casting into a different type 2015-09-28 22:21:02 +13:00
RequestFilter.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
RequestHandler.php [ss-2015-025]: FIX Dont expose class on error 2015-11-11 16:55:23 +13:00
RequestProcessor.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
Session.php FIX Absolute alternate_base_url no longer breaks session cookies 2016-10-04 14:21:32 +01:00
VersionedRequestFilter.php [SS-2016-007] FIX Encode user supplied URL for embeding into page 2016-08-15 15:53:36 +12:00