jenkins-bot has submitted this change and it was merged.

Change subject: Fix typo in cookie key
......................................................................


Fix typo in cookie key

Fix typo in cookie key name introduced in I1098d05

Bug: T124641
Change-Id: Ib151f8f7b988b096b99176786e723aca2a181e0e
(cherry picked from commit 31d4359b45a4a8d7174753ba90ee33de685160cb)
---
M includes/WebResponse.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Dduvall: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/WebResponse.php b/includes/WebResponse.php
index 7746edd..fd48005 100644
--- a/includes/WebResponse.php
+++ b/includes/WebResponse.php
@@ -141,7 +141,7 @@
                        );
 
                        // Per RFC 6265, key is name + domain + path
-                       $key = 
"{$data['name']}\n{$data['domain']}\n{$date['path']}";
+                       $key = 
"{$data['name']}\n{$data['domain']}\n{$data['path']}";
 
                        // If this cookie name was in the request, fake an 
entry in
                        // self::$setCookies for it so the deleting check works 
right.

-- 
To view, visit https://gerrit.wikimedia.org/r/266424
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib151f8f7b988b096b99176786e723aca2a181e0e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.27.0-wmf.11
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: Dduvall <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to