Bladeren bron

Issue 2367 – WebDAV authentication is endlessly retried when both SSPI/NTLM/Negotiate and other authentication method fails

https://winscp.net/tracker/2367

Source commit: 554cb433189890a584db96e12eadee4915fab26e
Martin Prikryl 6 maanden geleden
bovenliggende
commit
6f1951374a
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      source/core/WebDAVFileSystem.cpp

+ 1 - 1
source/core/WebDAVFileSystem.cpp

@@ -417,9 +417,9 @@ void TWebDAVFileSystem::ExchangeCapabilities(const char * Path, UnicodeString &
   ClearNeonError();
 
   int NeonStatus;
-  FAuthenticationRetry = false;
   do
   {
+    FAuthenticationRetry = false;
     NeonStatus = ne_options2(FSessionContext->NeonSession, Path, &FCapabilities);
   }
   while ((NeonStatus == NE_AUTH) && FAuthenticationRetry);