From bfde2d136f298e6f8cf1debc3d43e77aaee1d404 Mon Sep 17 00:00:00 2001 From: Saleh Souzanchi Date: Mon, 28 Oct 2013 00:49:40 +0330 Subject: [PATCH] fix spell of contentType --- lib/Cake/Network/CakeResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Network/CakeResponse.php b/lib/Cake/Network/CakeResponse.php index 2f60667fe..70fbf5540 100644 --- a/lib/Cake/Network/CakeResponse.php +++ b/lib/Cake/Network/CakeResponse.php @@ -1281,7 +1281,7 @@ class CakeResponse { $agent = env('HTTP_USER_AGENT'); if (preg_match('%Opera(/| )([0-9].[0-9]{1,2})%', $agent)) { - $contentType = 'application/octetstream'; + $contentType = 'application/octet-stream'; } elseif (preg_match('/MSIE ([0-9].[0-9]{1,2})/', $agent)) { $contentType = 'application/force-download'; }