From a17083669482375ac75ef8a84276d2e678cb3e14 Mon Sep 17 00:00:00 2001 From: Nico Oelgart Date: Thu, 17 Oct 2024 21:35:38 +0200 Subject: [PATCH] Fix session cookie --- src/Infrastructure/IFSC/IFSCApiClientAuthenticator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Infrastructure/IFSC/IFSCApiClientAuthenticator.php b/src/Infrastructure/IFSC/IFSCApiClientAuthenticator.php index 0ed16d4..350dc47 100644 --- a/src/Infrastructure/IFSC/IFSCApiClientAuthenticator.php +++ b/src/Infrastructure/IFSC/IFSCApiClientAuthenticator.php @@ -45,6 +45,7 @@ public function fetchSessionId(): string private function getCookies(): array { $headers = $this->httpClient->getHeaders(self::IFSC_RESULTS_INFO_PAGE); + $headers = array_change_key_case($headers); return $headers['set-cookie'] ?? []; }