- Jan 05, 2018
-
-
Tim van Dijen authored
-
- Jan 04, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Dec 29, 2017
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Dec 14, 2017
-
-
Luke Leber authored
Added 'no-store' to the cache-control header to prevent Google Chrome from serving the 302 redirect from disk cache
-
- Dec 08, 2017
-
-
Tim van Dijen authored
Fixes edge-case https://github.com/simplesamlphp/simplesamlphp/issues/741 where application has one of the known LoggingHandlers' name as a defined class
-
- Dec 05, 2017
-
-
Jaime Pérez Crespo authored
The last version of psalm breaks with array_key_exists(), so we use isset() instead.
-
- Nov 29, 2017
-
-
Tim van Dijen authored
-
- Nov 22, 2017
-
-
Jaime Pérez Crespo authored
Doing so allows us to mock the class. Otherwise, the _autoload_module.php is always called first, and when it tries to register the functions from that class, it automatically autoloads it, making it impossible to mock it afterwards.
-
- Nov 14, 2017
-
-
Kristof Bajnok authored
Don't bail out if the MDQ cache is broken or the query fails, because later other metadata sources might provide the metadata for the entity.
-
- Oct 27, 2017
-
-
Thijs Kinkhorst authored
-
- Oct 25, 2017
-
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This can be used by templates to load resources in different ways, either optimized for the developer or for a production environment.
-
Jaime Pérez Crespo authored
-
- Oct 24, 2017
-
-
Matt Schwager authored
Working toward some of the requested tasks in https://github.com/simplesamlphp/simplesamlphp/wiki/List-of-tasks
-
- Oct 19, 2017
- Oct 17, 2017
-
-
Jaime Pérez Crespo authored
This allows us to use this new filter to translate strings from a given array of translations, where every translation is indexed by its ISO 639 code. A new configuration option ('language' -> 'priorities') is available too to control the alternative languages that can be used instead of a given language, when the latter is not found. The filter returns null when no suitable translation is found, so that it can be combined with "default()" to set a default translation for a given string.
-
- Oct 16, 2017
-
-
Jaime Pérez Crespo authored
This reverts commit 0917046c.
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This reverts commit 1218f38a.
-
Jaime Pérez Crespo authored
When we are invoked from an outside application, SimpleSAMLphp cannot use 'baseurlpath' and in that case it tries to guess the current URL. The port was always added, even if the default port was used, leading to possible issues when comparing URLs that should actually be equivalent. This resolves #696.
-
- Oct 10, 2017
-
-
Matt Clarkson authored
-
Jaime Pérez Crespo authored
This resolves #695.
-
Jaime Pérez Crespo authored
In order to fix this, we first sanitize any URL given to SimpleSAML\Utils\HTTP::checkURLAllowed() so that we make sure we have a true URL without spurious characters. Secondly, we stop using an "onload" event in the body of the redirect page to trigger the redirect automatically. Instead, we use a "meta refresh" redirection. This double remediation is because there were two issues here: one, we were printing user input inside a chunk of javascript code. The other exploits the fact that the header() function silently breaks when a null character is part of the URL given to a "Location" header. In that case, the HTTP 302 Redirection doesn't happen, and then the browser loads the HTML and goes through it, running the injected javascript. This fixes #699.
-