From: Scott Cantor Date: Fri, 14 Sep 2007 04:28:14 +0000 (+0000) Subject: Missing case where path info is empty. X-Git-Tag: 1.3.1~68 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=ec5b186e96c7196cfab29bcd3bf831e0b7e85278;p=shibboleth%2Fcpp-sp.git Missing case where path info is empty. --- 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)) {