* Add getCookie() method to WebRequest as a wrapper for $_COOKIE. Updated all instanc...
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 6 Sep 2008 12:38:34 +0000 (12:38 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 6 Sep 2008 12:38:34 +0000 (12:38 +0000)
commit40618e0c3e29b22a2b961ea283fe394584e1514f
tree3dcf3e3a8e293f4ce4fc6cc1c96dd3eb50564c63
parent9e7fc0ae216cf2c57305502ad3dbc031ed0abe0c
* Add getCookie() method to WebRequest as a wrapper for $_COOKIE. Updated all instances of $_COOKIE to use this.
* Switch from running fix_magic_quotes() on $_COOKIE and $_GET/$_POST to running it on $this->cookies and $this->data. Should keep us from interfering with other programs that might do the same (and/or trying to start up a second WebRequest object). This partially fixes bug 11558.
* Todo: Do similar things with $_SERVER/$_ENV and switch to a lazy-load style, rather than on every new WebRequest.
includes/Setup.php
includes/User.php
includes/WebRequest.php
includes/specials/SpecialUserlogin.php