[shibboleth-sp2] 51/119: Missing case where path info is empty.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.
commit ec5b186e96c7196cfab29bcd3bf831e0b7e85278
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Fri Sep 14 04:28:14 2007 +0000
Missing case where path info is empty.
---
isapi_shib/isapi_shib.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/isapi_shib/isapi_shib.cpp b/isapi_shib/isapi_shib.cpp
index e6e297b..bb51f4d 100644
--- a/isapi_shib/isapi_shib.cpp
+++ b/isapi_shib/isapi_shib.cpp
@@ -658,10 +658,13 @@ public:
// Pretty good chance we're in bad mode, unless the PathInfo repeats the path itself.
fullurl=lpECB->lpszPathInfo;
else {
- fullurl+=url;
+ fullurl = url;
fullurl+=lpECB->lpszPathInfo;
}
}
+ else {
+ fullurl = url;
+ }
// For consistency with Apache, let's add the query string.
if (lpECB->lpszQueryString && *(lpECB->lpszQueryString)) {
--
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