dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2e8461
)
(bug 44010) FauxRequest leaks cookie data from primary request
author
Niklas Laxström
<niklas.laxstrom@gmail.com>
Wed, 16 Jan 2013 09:45:36 +0000
(09:45 +0000)
committer
Niklas Laxström
<niklas.laxstrom@gmail.com>
Wed, 16 Jan 2013 09:45:36 +0000
(09:45 +0000)
Change-Id: I6baf972352fd69660c09a5d413ff55b81aa31305
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
fc1cdb5
..
68d22a8
100644
(file)
--- 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;
}