Skip to content
Snippets Groups Projects
  1. Jul 10, 2019
  2. Jun 06, 2019
  3. Mar 23, 2019
    • Tim van Dijen's avatar
      Fix build (#1085) · 6eed6144
      Tim van Dijen authored
      * Update Psalm
      
      * Ignore DocblockTypeContradiction and RedundantConditionGivenDocblockType
      
      * Fix Psalm-errors
      
      * Raise minimum PHP-version to 5.6
      
      * Update lock-file accordingly
      
      * Fix phpunit
      
      * Suppress Psalm-issue
      6eed6144
  4. Feb 03, 2019
  5. Oct 21, 2018
  6. Oct 17, 2018
  7. Aug 22, 2018
  8. Aug 13, 2018
  9. Jun 15, 2018
  10. May 31, 2018
  11. May 10, 2018
  12. Apr 13, 2018
  13. Feb 28, 2018
  14. Feb 07, 2018
  15. Jan 21, 2018
  16. Jan 16, 2018
  17. Jan 08, 2018
  18. Jan 06, 2018
  19. Jan 04, 2018
  20. Dec 14, 2017
  21. Nov 14, 2017
  22. Oct 25, 2017
  23. Oct 16, 2017
  24. Oct 10, 2017
    • Jaime Pérez Crespo's avatar
      bugfix: Make sure no JS code can be injected into redirected URLs · 5f074e97
      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.
      5f074e97
  25. Sep 07, 2017
    • Jaime Pérez Crespo's avatar
      Add a new method SimpleSAML\Auth\getProcessedURL(). · 918a1fb4
      Jaime Pérez Crespo authored
      This method allows us to parse a URL and "rebase" it based on the $config['application']['baseURL'] configuration option. Thanks to this, applications will be able to configure a canonical base URL for the application, effectively translating any URL that might be built incorrectly (e.g. not using HTTPS because that is offloaded to a reverse proxy).
      918a1fb4
  26. Sep 01, 2017
Loading