From d761adda1cfe5b1476c167df908d4100eebb443f Mon Sep 17 00:00:00 2001 From: Lasse Birnbaum Jensen <lasse@sdu.dk> Date: Tue, 22 Jan 2008 10:33:29 +0000 Subject: [PATCH] SAML20::HTTPRedirect::validateQuery - return false if validation is disabled. If true is returned a logline saying "valid signature found" will logged. When false is returned nothing is logged about signatures. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@181 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 163d9050f..48d6c9b22 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 true; + return false; } if (!isset($_GET['Signature'])) { -- GitLab