From 0abfa7d0c8bac90e291cf7664a0302aa286f716d Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Fri, 10 Sep 2004 15:17:36 +0000 Subject: Use header("Location: $url\n\n") instead of header("Location: $url") Secure every SQL query with the quoteSmart methode. Completely rewrite singleSignOn.php, now the code is more easy to understand and more clean. --- php/Attic/examples/sample-sp/logout.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'php/Attic/examples/sample-sp/logout.php') diff --git a/php/Attic/examples/sample-sp/logout.php b/php/Attic/examples/sample-sp/logout.php index 10a9ca81..fedae253 100644 --- a/php/Attic/examples/sample-sp/logout.php +++ b/php/Attic/examples/sample-sp/logout.php @@ -124,5 +124,6 @@ header("Request-URI: $url"); header("Content-Location: $url"); - header("Location: $url"); + header("Location: $url\n\n"); + exit; ?> -- cgit