BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/266245

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: Ib140aa61ba56844191304c4308052148c728bc64
---
M includes/WebResponse.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/45/266245/1

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/266245
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib140aa61ba56844191304c4308052148c728bc64
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

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

Reply via email to