From 5db6042f1980b43b56e86a6933af013742b49131 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Fri, 19 Oct 2007 13:42:49 +0000
Subject: [PATCH] Fixing redirect URL bug in Shib 13 example

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@32 44740490-163a-0410-bde0-09ae8108e29a
---
 www/example-simple/shib13-example.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/example-simple/shib13-example.php b/www/example-simple/shib13-example.php
index 377816a7f..d16d6c686 100644
--- a/www/example-simple/shib13-example.php
+++ b/www/example-simple/shib13-example.php
@@ -16,7 +16,7 @@ $session = SimpleSAML_Session::getInstance();
 
 if (!isset($session) || !$session->isValid() ) {
 	
-	header('Location: ' . $config->getValue('baseurlpath') . '/shib13/sp/initSSO.php?RelayState=' . urlencode(SimpleSAML_Utilities::selfURL()));
+	header('Location: /' . $config->getValue('baseurlpath') . 'shib13/sp/initSSO.php?RelayState=' . urlencode(SimpleSAML_Utilities::selfURL()));
 		// . '&idpentityid=' . $idpentityid );
 	exit(0);
 }
-- 
GitLab