Skip to content
Snippets Groups Projects
Commit 7ed52d6e authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Commented out PATH INFO reset

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1047 44740490-163a-0410-bde0-09ae8108e29a
parent 807430ca
No related branches found
No related tags found
No related merge requests found
......@@ -45,15 +45,18 @@ try {
if (empty($_SERVER['PATH_INFO'])) {
throw new SimpleSAML_Error_NotFound('No PATH_INFO to module.php');
}
}
$url = $_SERVER['PATH_INFO'];
assert('substr($url, 0, 1) === "/"');
/* Clear the PATH_INFO option, so that a script can detect whether it is called
* with anything following the '.php'-ending.
*
* Commented out by Andreas on december 3rd 2008. this conflicts with the helper methods
* in Utilities to get URL right.
*/
unset($_SERVER['PATH_INFO']);
# unset($_SERVER['PATH_INFO']);
$modEnd = strpos($url, '/', 1);
if ($modEnd === FALSE) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment