From abb7a45c77b8989b212fe8f1088e374d14703e59 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 22 Jan 2008 10:27:39 +0000
Subject: [PATCH] SAML20::HTTPRedirect::validateQuery - return true if
 validation is disabled.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@180 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Bindings/SAML20/HTTPRedirect.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Bindings/SAML20/HTTPRedirect.php b/lib/SimpleSAML/Bindings/SAML20/HTTPRedirect.php
index ded89bc4e..163d9050f 100644
--- a/lib/SimpleSAML/Bindings/SAML20/HTTPRedirect.php
+++ b/lib/SimpleSAML/Bindings/SAML20/HTTPRedirect.php
@@ -79,7 +79,7 @@ class SimpleSAML_Bindings_SAML20_HTTPRedirect {
 		
 		// check wether to validate or not
 		if (!array_key_exists('request.signing', $md) || !$md['request.signing']){ 
-			return $query;
+			return true;
 		}
 
 		if (!isset($_GET['Signature'])) {
-- 
GitLab