소스 검색

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

https://winscp.net/tracker/2367
(cherry picked from commit 6f1951374a42f5959eda21359f0f0f00e7a4c6ca)

Source commit: 1707bce3c654ca21e66b3eb87ad0e9350b9c48b5
Martin Prikryl 6 달 전
부모
커밋
f179b119e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);