Forráskód Böngészése

Bug 1450: Failure during WebDAV SSPI authentication

https://winscp.net/tracker/1450

Source commit: 986f8f04fc6b898a0ec0698d64eef9c09c15c670
Martin Prikryl 9 éve
szülő
commit
e25d963182
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      libs/neon/src/ne_auth.c

+ 5 - 0
libs/neon/src/ne_auth.c

@@ -1680,7 +1680,12 @@ static void auth_register(ne_session *sess, int isproxy, unsigned protomask,
             ne_fill_server_uri(sess, &uri);
         }
 
+#ifdef WINSCP
+        // bug fix
+        ahs->sspi_host = ne_strdup(uri.host);
+#else
         ahs->sspi_host = uri.host;
+#endif
 
         uri.host = NULL;