diff --git a/application/core/EA_Input.php b/application/core/EA_Input.php index d88c2146..00d81454 100644 --- a/application/core/EA_Input.php +++ b/application/core/EA_Input.php @@ -55,7 +55,7 @@ class EA_Input extends CI_Input { /** @var EA_Controller $CI */ $CI = &get_instance(); - if ($CI->input->get_request_header('Content-Type') !== 'application/json') + if (strpos($CI->input->get_request_header('Content-Type'), 'application/json') === false) { return NULL; }