From 833f87a0375d5519b84818320b06d40a0d7eaeae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 16 Jan 2013 09:45:36 +0000 Subject: [PATCH] (bug 44010) FauxRequest leaks cookie data from primary request Change-Id: I6baf972352fd69660c09a5d413ff55b81aa31305 --- includes/WebRequest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/WebRequest.php b/includes/WebRequest.php index fc1cdb59aa..68d22a8a2d 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -1314,6 +1314,10 @@ class FauxRequest extends WebRequest { return $this->wasPosted; } + public function getCookie( $key, $prefix = null, $default = null ) { + return $default; + } + public function checkSessionCookie() { return false; } -- 2.20.1