[shibboleth-sp2] 16/100: Wasn't chopping query string properly.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 1.2.1
in repository shibboleth-sp2.

commit 996194cfd8848a3f82525eb0135d486e74af2026
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Mon Sep 13 16:40:43 2004 +0000

    Wasn't chopping query string properly.
---
 shib-target/XMLRequestMapper.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shib-target/XMLRequestMapper.cpp b/shib-target/XMLRequestMapper.cpp
index 4700799..4dd1bf1 100644
--- a/shib-target/XMLRequestMapper.cpp
+++ b/shib-target/XMLRequestMapper.cpp
@@ -281,7 +281,7 @@ const IPropertySet* Override::getPropertySet(const char* name, const char* ns) c
 const Override* Override::locate(const char* path) const
 {
     char* dup=strdup(path);
-    char* sep=strchr(path,'?');
+    char* sep=strchr(dup,'?');
     if (sep)
         *sep=0;
     for (char* pch=dup; *pch; pch++)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list