aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security/redirect_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14948] Adjust calls for twig and phpunit updatesMarc Alexander2019-05-091-1/+1
| | | | PHPBB3-14948
* [ticket/14972] Migrate from deprecated getMock() method to createMock()rxu2019-05-081-1/+1
| | | | PHPBB3-14972
* [ticket/15758] Show translated msg for INSECURE_REDIRECTJakub Senko2018-09-281-1/+1
| | | | PHPBB3-15758
* [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-311-1/+0
| | | | PHPBB3-14576
* Merge branch '3.1.x'Andreas Fischer2015-04-281-3/+8
|\ | | | | | | | | | | | | | | | | | | * 3.1.x: [ticket/security-180] Use language variable for redirect error in 3.1+ [ticket/security-180] Merge if statement with previous one in 3.1.x [ticket/security-180] Add tests for redirecting to main URL [ticket/security-180] Always fail when redirecting to an insecure URL [ticket/security-180] Make sure that redirect goes to full URL plus slash [ticket/security-180] Check if redirect URL contains board URL
| * Merge branch 'ticket/security-180' into ticket/security-180-ascMarc Alexander2015-04-281-4/+6
| |\ | | | | | | | | | | | | Conflicts: tests/security/redirect_test.php
| | * [ticket/security-180] Add tests for redirecting to main URLMarc Alexander2015-04-231-0/+2
| | | | | | | | | | | | SECURITY-180
| | * [ticket/security-180] Always fail when redirecting to an insecure URLJoas Schilling2015-04-111-3/+3
| | | | | | | | | | | | SECURITY-180
| * | Merge branch 'ticket/security-180' into ticket/security-180-ascMarc Alexander2015-04-281-0/+3
| |\ \ | | |/ | | | | | | | | | Conflicts: tests/security/redirect_test.php
| | * [ticket/security-180] Make sure that redirect goes to full URL plus slashMarc Alexander2015-04-111-0/+3
| | | | | | | | | | | | SECURITY-180
| | * [ticket/11159] static public is the currently approved order.Oleg Pudeyev2012-11-061-1/+1
| | | | | | | | | | | | PHPBB3-11159
* | | [ticket/13697] Moving filesystem related functions to filesystem serviceMateBartus2015-04-161-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moving filesystem service to \phpbb\filesystem namespace * Wraping Symfony's Filesystem component * Moving filesystem related functions from includes/functions.php into \phpbb\filesystem\filesystem Functions moved (and deprecated): - phpbb_chmod - phpbb_is_writable - phpbb_is_absolute - phpbb_own_realpath - phpbb_realpath * Adding interface for filesystem service PHPBB3-13697
* | [ticket/13280] Make the tests failingTristan Darricau2014-11-121-0/+4
| | | | | | | | PHPBB3-13280
* | [ticket/12099] Remove config againJoas Schilling2014-06-291-1/+0
| | | | | | | | PHPBB3-12099
* | [ticket/12099] Add request argument to path_helper servicePico882014-06-291-0/+2
| | | | | | | | PHPBB3-12099
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | | | | | PHPBB3-12594
* | [ticket/12090] Change redirect tests to use route()Joas Schilling2014-03-071-31/+2
| | | | | | | | PHPBB3-12090
* | [ticket/11997] Add user's page dir to redirect path and fix unit tests for itMarc Alexander2013-12-281-1/+5
| | | | | | | | | | | | | | The user's page directory needs to be added to the redirect URL for proper redirects outside of the forum root. Fix the unit tests accordingly. PHPBB3-11997
* | [ticket/11997] Do not check if file or dir we redirect to existMarc Alexander2013-12-271-14/+56
| | | | | | | | | | | | | | | | The redirect function will now properly redirect to where we want it to. It will no longer try to check if the file or directory we redirect to exist. This will ensure compatibility with the new routes. PHPBB3-11997
* | [ticket/11997] Modifiy tests after adding path_helper clean_url methodMarc Alexander2013-12-211-3/+3
| | | | | | | | PHPBB3-11997
* | [ticket/11997] Allow redirects to parent folders like previouslyMarc Alexander2013-12-211-2/+2
| | | | | | | | | | | | | | Redirects to parent folders were possible with the previous redirect function. This change will allow these redirects again. PHPBB3-11997
* | [ticket/11997] Fix tests for path_helper's get_controller_redirect_url()Marc Alexander2013-12-071-9/+20
| | | | | | | | PHPBB3-11997
* | [ticket/11997] Use $phpbb_filesystem->clean_path() for proper redirect pathsMarc Alexander2013-11-121-23/+35
| | | | | | | | PHPBB3-11997
* | [ticket/11997] Correctly redirect to front controllersMarc Alexander2013-11-081-1/+15
| | | | | | | | | | | | | | | | | | | | | | We currently do a lot of checks in order to prevent users from getting to a 404 page. However, this logic relies on checking if a file or folder exists. Due to the front controllers and the URL rewriting in 3.1, it is no longer possible to rely on existing files for redirecting. This patch will take care of properly redirecting users to front controller files. An incorrect link will cause users to get a 404 error though. PHPBB3-11997
* | [ticket/9975] Moved a few E_USER_ERROR errors to /languageasperous2013-04-231-3/+3
| | | | | | | | | | | | There were a few error messages that a user could experience that would, previously, be without any the ability to be localized. There are some more E_USER_ERRORs that I did not change to a constant, for example the error message that is displayed if there aren't any folders in /language. PHPBB3-9975
* | [ticket/10733] Removing static from data providersVjacheslav Trushkin2012-04-011-1/+1
| | | | | | | | | | | | Removing static from data provider functions PHPBB3-10733
* | [feature/class-prefix] Rename user and session to phpbb_*Igor Wiedler2012-03-311-1/+0
| | | | | | | | PHPBB-10609
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-01-021-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9916] Changing header in non-distributed files [ticket/9916] Changing coding guidelines license [ticket/9916] Updating License in the header Conflicts: tests/mock/cache.php
| * [ticket/9916] Updating License in the headerUnknown2012-01-021-1/+1
| | | | | | | | PHPBB3-9916
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-01-311-5/+5
|\ \ | |/ | | | | | | | | | | | | * develop-olympus: [ticket/10011] Tests don't work on PHP < 5.3 Conflicts: tests/security/redirect_test.php
| * [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
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-01-101-1/+0
|/ | | | This merge commit includes ascraeus-specific renames and adjustments.
* [ticket/9987] Rename test files to include a _test suffixIgor Wiedler2011-01-101-0/+60
PHPBB3-9987