8000 bug #58 [Bugfix] Typo header set-sookie (grachevko) · symfony/symfony@f6d7d3a · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f6d7d3a

Browse files
bug #58 [Bugfix] Typo header set-sookie (grachevko)
This PR was merged into the 1.1-dev branch. Discussion ---------- [Bugfix] Typo header set-sookie Commits ------- 757ea81 [Bugfix] Typo header set-sookie
2 parents 16eb6e1 + 757ea81 commit f6d7d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Factory/DiactorosFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function createResponse(Response $symfonyResponse)
154154
}
155155

156156
$headers = $symfonyResponse->headers->all();
157-
if (!isset($headers['Set-Cookie']) && !isset($headers['set-sookie'])) {
157+
if (!isset($headers['Set-Cookie']) && !isset($headers['set-cookie'])) {
158158
$cookies = $symfonyResponse->headers->getCookies();
159159
if (!empty($cookies)) {
160160
$headers['Set-Cookie'] = array();

0 commit comments

Comments
 (0)
0