- Nov 29, 2017
-
-
Tim van Dijen authored
-
- Oct 03, 2016
-
-
Jaime Pérez authored
bugfix: Allow exception messages different than "You have not yet created the SimpleSAMLphp configuration files.". Right now, that's the only error message that you will ever get if something goes wrong with the configuration, no matter what. The message should not be hardcoded, but use the one from the captured exception instead.
-
Jaime Pérez authored
ParseError errors in PHP 7 have a code of 0, which will always be masked. Avoid that by forcing error codes of 0 to be E_ERROR instead.
-
- Jul 19, 2016
-
-
Jaime Pérez authored
The www/_include.php script, included by all scripts in www/, checks unconditionally for the existence of the config.php file. However, this prevents us from testing the scripts automatically. Instead of checking for the file, we just try to load the configuration, and live with it if it works. That way we can pre-load the configuration using SimpleSAML_Configuration::loadFromArray(), as we are doing in some tests.
-
- Jul 06, 2016
-
-
Jaime Pérez authored
PHP 7 changed the way it handles internal errors. Now, Exception objects inherit from the Throwable interface, as well as the new Error objects. Internal functions throw Error objects now instead of raising an error, so the exception handler would need to handle them as well. Therefore, the exception handler is no longer guaranteed to receive an Exception object. We need now to discern whether the parameter is an exception (and continue our business as usual), or an Error (in case such thing exists, only PHP 7), and in this last case parse it and let the error handler do its stuff. This should resolve #330.
-
- Jun 29, 2016
-
-
Jaime Pérez authored
In line with the previous commit, we now allow hooking in the exception handler, so that a module can implement its own logic to deal with certain exceptions.
-
- Apr 20, 2016
-
-
Jaime Perez Crespo authored
Start using the new configuration exceptions, handling error situations that before led to blank pages or even worse.
-
- Feb 26, 2016
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
Move the error-reporting logic in SimpleSAML_Utilities to the SimpleSAML_Logger class, and add a new method there to evaluate whether an error would be masked or not according to its level.
-
- Nov 06, 2015
-
-
Jaime Perez Crespo authored
(being respectful with occurences that might change the behaviour, i.e. default database prefixes)
-
- Oct 16, 2015
-
-
Sergio Gómez authored
-
- Aug 06, 2015
-
-
Jaime Perez Crespo authored
-
- Jul 31, 2015
-
-
Thijs Kinkhorst authored
INCPREFIX has been added in March 2008 and was already deprecated in June 2008, i.e. > 7 years ago.
-
- Jun 10, 2015
-
-
Tom Johnell authored
Moved logic pertaining to finding configdir to central location, added ability to set via environment variable
-
- Apr 20, 2015
-
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::initTimezone() to SimpleSAML\Utils\Time::initTimezone(). Deprecate the former.
-
Jaime Perez Crespo authored
Deprecate SimpleSAML_Utilities::disanleXMLEntityLoader(). Since we are requiring PHP 5.3, we can call libxml_disable_entity_loader() directly.
-
- Jan 12, 2015
-
-
Thijs Kinkhorst authored
To prevent local and remote file inclusion attacks. This is in most cases already disabled by default in system libraries, so this will be a no-op to most systems, but to be safe we explicitly disable it also. Fixes #74
-
- Jul 09, 2014
-
-
Thijs Kinkhorst authored
-
- Apr 28, 2014
-
-
Thijs Kinkhorst authored
This is necessary to make sure that if a minimum PHP error level has been set, this is also respected by SSP's error handler. Most notably, this will make calls prefixed with '@', the PHP warning silencer, actually silence the warnings. The SSP code tries to makes use of the @ sign on various places around the code, but this will only work if it's actually checked here.
-
- Dec 08, 2011
-
-
Olav Morken authored
Due to a PHP bug combined with deprecation-warnings from the OpenID library, we may fail with a fatal error due to not finding the SimpleSAML_Logger class. See PHP bug: https://bugs.php.net/bug.php?id=47987 git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2999 44740490-163a-0410-bde0-09ae8108e29a
-
- Mar 07, 2011
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2742 44740490-163a-0410-bde0-09ae8108e29a
-
- Feb 24, 2010
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2191 44740490-163a-0410-bde0-09ae8108e29a
-
- Jan 22, 2010
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2123 44740490-163a-0410-bde0-09ae8108e29a
-
- Jan 05, 2010
-
-
Olav Morken authored
This hasn't been required in a long time, and any external code depending on it should have been fixed. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2075 44740490-163a-0410-bde0-09ae8108e29a
-
- Dec 04, 2009
-
-
Olav Morken authored
Enable the assertion handler for all pages which load www/_include.php. This may lead to more logging of assertion failures, but should otherwise be invisible. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2028 44740490-163a-0410-bde0-09ae8108e29a
-
- Oct 16, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1857 44740490-163a-0410-bde0-09ae8108e29a
-
- Aug 24, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1707 44740490-163a-0410-bde0-09ae8108e29a
-
- Aug 18, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1687 44740490-163a-0410-bde0-09ae8108e29a
-
- Aug 13, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1663 44740490-163a-0410-bde0-09ae8108e29a
-
- Aug 07, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1643 44740490-163a-0410-bde0-09ae8108e29a
-
- Aug 03, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1596 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 17, 2009
-
-
Olav Morken authored
Disable the custom handlers until the logger class and the configuration class can avoid calling recursing into each other. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1590 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 14, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1585 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 13, 2009
-
-
Olav Morken authored
This patch adds an exception handler which will catch all unhandled exceptions and display an error page to the user. It also adds a handler for PHP errors and warnings. This handler will show a stacktrace of the error, and then pass the error to the normal PHP error handler. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1561 44740490-163a-0410-bde0-09ae8108e29a
-
- Feb 26, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1329 44740490-163a-0410-bde0-09ae8108e29a
-
- Feb 25, 2009
-
-
Olav Morken authored
Configuration: Make it possible to initialize from an array, and introduce replacements for init() and copyFromBase(). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1322 44740490-163a-0410-bde0-09ae8108e29a
-
- Jun 06, 2008
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@612 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@610 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This patch adds a autoloader file (lib/_autoload.php), and changes www/_include.php to load this file. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@608 44740490-163a-0410-bde0-09ae8108e29a
-
- Mar 06, 2008
-
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@373 44740490-163a-0410-bde0-09ae8108e29a
-