Browse Source

We've seen a server (t=24891) that does not set "getlastmodified" for the "this" folder entry.

Source commit: db147b07ba9f779bfc03c8f4581f6f1fad0f0399
Martin Prikryl 8 năm trước cách đây
mục cha
commit
c5ccd316d8
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      source/core/WebDAVFileSystem.cpp

+ 2 - 1
source/core/WebDAVFileSystem.cpp

@@ -969,7 +969,8 @@ void __fastcall TWebDAVFileSystem::ParsePropResultSet(TRemoteFile * File,
     File->Size = StrToInt64Def(ContentLength, 0);
   }
   const char * LastModified = GetProp(Results, PROP_LAST_MODIFIED);
-  if (DebugAlwaysTrue(LastModified != NULL))
+  // We've seen a server (t=24891) that does not set "getlastmodified" for the "this" folder entry.
+  if (LastModified != NULL)
   {
     char WeekDay[4] = { L'\0' };
     int Year = 0;