Commit Graph

7 Commits

Author SHA1 Message Date
Florian Thoma
f0570c6ae8 BUGFIX: URL '/' ending up beeing redirected to '//' 2013-12-18 13:44:30 +11:00
Hamish Friedlander
60a95cbe77 FIX Token redirect where in IIS a / needs adding between host & url 2013-08-05 09:14:10 +12:00
Hamish Friedlander
2f9689b8f8 FIX Flush on memory exhaustion and headers sent 2013-08-01 09:42:52 +12:00
Hamish Friedlander
122a9f898e Split Core.php into Constants.php and Core.php and adjust main.php startup
The recent flush filter fix had a problem that you couldnt set a custom
BASE_PATH in _ss_environment because that file didnt get included until
after checking the confirmation token. This patch pulls the part of Core.php
that defines BASE_PATH into a seperate file that can be included earlier
in the startup sequence so that ParameterConfirmationToken can access it.

Core.php includes Constants.php with a require_once call, so for startup
scripts that dont pull in Constants.php themselves (like cli-script.php)
no change is needed.
2013-07-22 14:02:37 +12:00
Hamish Friedlander
ec8c4b8569 FIX: Ignore invalid tokens instead of throwing 403 2013-07-19 15:04:50 +12:00
Hamish Friedlander
d42d8d0fc2 FIX: Have ParameterConfirmationToken includes work regardless of include path 2013-07-19 14:30:59 +12:00
Hamish Friedlander
8990788818 FIX Prevent DOS by checking for env and admin on ?flush=1 (#1692) 2013-07-19 12:31:37 +12:00