aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security/extract_current_page_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [feature/request-class] Add server(), header() and is_ajax() to requestIgor Wiedler2011-07-151-4/+12
| | | | | | | | | | | | 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
* [ticket/10011] Tests don't work on PHP < 5.3Erik Frèrejean2011-01-311-3/+3
| | | | | | | | Due to the usage of `__DIR__` for the file includes the tests can't be ran on systems with PHP < 5.3. Replace all occurances of `__DIR__` with `dirname(__FILE__)`. PHPBB3-10011
* [ticket/9987] Rename test files to include a _test suffixIgor Wiedler2011-01-101-0/+53
PHPBB3-9987