- Jun 03, 2016
-
-
Jaime Perez Crespo authored
Fix an issue with some PHP environments (mostly related to FastCGI or php-fpm, common with nginx) where $_SERVER['SCRIPT_NAME'] is already populated with $_SERVER['PATH_INFO'] appended to it. In those cases, we should not blindly append PATH_INFO to SCRIPT_NAME, but check the latter first. This hopefully resolves #5 and closes #391.
-
- Jun 02, 2016
-
-
Jon Dufresne authored
Fixes #379
-
- 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.
-
- Apr 19, 2016
-
-
Jaime Perez Crespo authored
If $_SERVER does not contain the variables we need (i.e. when running tests) it makes no sense at all to try to guess the root URI, since there's no such a thing, probably.
-
- Apr 18, 2016
-
-
Jaime Perez Crespo authored
-
- Mar 03, 2016
-
-
Jaime Perez Crespo authored
Fix a couple formatting issues in SimpleSAML\Utils\HTTP. Start using SimpleSAML\Module and SimpleSAML\Logger in there.
-
Jaime Perez Crespo authored
Fix build for older PHP versions that don't allow passing return values as a reference to a function.
-
Jaime Perez Crespo authored
Bugfix: there's a couple of places in SimpleSAML\Utils\HTTP where we should use the host AND port if the latter is not the default one, but we are only using the host. These are the case for evaluating the 'trusted.url.domains' configuration options (we should allow the host and port we are reachable in, but not other ports in the same host) and the method that returns the host with path, which should include the port if that's not standard (the documentation of the method already says so).
-
Jaime Perez Crespo authored
Rename Utils\HTTP::getSelfHostWithoutPort() to Utils\HTTP::getSelfHostWithNonStandardPort(), change the logic, and reimplement Utils\HTTP::getSelfHost() to depend on use the former. Complete the tests to include the case of port 443 while using HTTPS.
-
- Mar 02, 2016
-
-
Andrés Blanco authored
-
- Jan 19, 2016
-
-
Tim van Dijen authored
Don't gather the proxy.auth setting if we don't use it
-
- Jan 15, 2016
-
-
restena-sw authored
-
restena-sw authored
-
- Nov 06, 2015
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
(being respectful with occurences that might change the behaviour, i.e. default database prefixes)
-
- Oct 21, 2015
-
-
Jaime Perez Crespo authored
-
- Jun 03, 2015
-
-
Enrico Cavalli authored
Raise InvalidArgumentException if $retryURL is not a string AND is not null
-
- Apr 23, 2015
-
-
Jaime Perez Crespo authored
Use InvalidArgumentException instead of SimpleSAML_Error_Exception when dealing with wrong input parameters.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:: checkCookie() to SimpleSAML\Utils\HTTP::checkSessionCookie() and deprecate the former.
-
- Apr 22, 2015
-
-
Jaime Perez Crespo authored
SimpleSAML_Utilities::resolvePath was moved incorrectly to \SimpleSAML\Utils\HTTP instead of \SimpleSAML\Utils\System. Fix that.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:: redirectUntrustedURL() to SimpleSAML\Utils\HTTP:: redirectUntrustedURL() and deprecate the former.
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:: checkURLAllowed() to SimpleSAML\Utils\HTTP:: checkURLAllowed() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:: redirectTrustedURL() to SimpleSAML\Utils\HTTP:: redirectTrustedURL() and deprecate the former.
-
- Apr 21, 2015
-
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:: setCookie() to SimpleSAML\Utils\HTTP:: setCookie() and deprecate the former.
-
Jaime Perez Crespo authored
Move the createPostRedirectLink(), postRedirect() and createHttpPostRedirectLink() methods in SimpleSAML_Utilities to \SimpleSAML\Utils\HTTP. The last one is made private, the others are renamed to submitPOSTData() and getPOSTRedirectURL(), respectively. Deprecate the three old ones.
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::normalizeURL() to SimpleSAML\Utils\HTTP::normalizeURL() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::resolveURL() to SimpleSAML\Utils\HTTP::resolveURL() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::selfURLNoQuery() to SimpleSAML\Utils\HTTP::getSelfURLNoQuery() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::selfURL() to SimpleSAML\Utils\HTTP::getSelfURL() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::selfURLhost() to SimpleSAML\Utils\HTTP::getSelfURLHost() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::getFirstPathElement() to SimpleSAML\Utils\HTTP::getFirstPathElement() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::getSelfHostWithPath() to SimpleSAML\Utils\HTTP::getSelfHostWithPath() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::getSelfHost() to SimpleSAML\Utils\HTTP::getSelfHost() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:::getAcceptLanguage() to SimpleSAML\Utils\HTTP::getAcceptLanguage() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:::getBaseURL() to SimpleSAML\Utils\HTTP::getBaseURL() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:::resolvePath() to SimpleSAML\Utils\HTTP::resolvePath() and deprecate the former.
-
Jaime Perez Crespo authored
-