Missing case where path info is empty.
authorScott Cantor <cantor.2@osu.edu>
Fri, 14 Sep 2007 04:28:14 +0000 (04:28 +0000)
committerScott Cantor <cantor.2@osu.edu>
Fri, 14 Sep 2007 04:28:14 +0000 (04:28 +0000)
isapi_shib/isapi_shib.cpp

index e6e297b..bb51f4d 100644 (file)
@@ -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)) {