aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security/base.php
Commit message (Collapse)AuthorAgeFilesLines
* [feature/request-class] Add server(), header() and is_ajax() to requestIgor Wiedler2011-07-151-16/+20
| | | | | | | | | | | | Extend the request class with helpers for reading server vars (server()) and HTTP request headers (header()). Refactor the existing code base to make use of these helpers, make $_SERVER a deactivated super global. Also introduce an is_ajax() method, which checks the X-Requested-With header for the value 'XMLHttpRequest', which is sent by JavaScript libraries, such as jQuery. PHPBB3-9716
* [task/phpunit-xml] Use phpunit.xml for test suiteIgor Wiedler2011-01-041-0/+54
PHPBB3-9967