diff --git a/system/Config/Services.php b/system/Config/Services.php index 0daaa72c957f..c4c65a51252d 100644 --- a/system/Config/Services.php +++ b/system/Config/Services.php @@ -592,7 +592,10 @@ public static function redirectResponse(\Config\App $config = null, $getShared = $config = new \Config\App(); } - return new \CodeIgniter\HTTP\RedirectResponse($config); + $response = new \CodeIgniter\HTTP\RedirectResponse($config); + $response->setProtocolVersion(self::request()->getProtocolVersion()); + + return $response; } //--------------------------------------------------------------------