فهرست منبع

Command on missing session params handling when URL matches existing site name

Source commit: 66bf145be4f32402d9e53850797fff9ba6c99c8e
Martin Prikryl 9 سال پیش
والد
کامیت
92dfc6d9ba
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      source/core/SessionData.cpp

+ 3 - 0
source/core/SessionData.cpp

@@ -1589,6 +1589,9 @@ bool __fastcall TSessionData::ParseUrl(UnicodeString Url, TOptions * Options,
       ARemoteDirectory = CutToChar(RemoteDirectoryWithSessionParams, UrlParamSeparator, false);
       UnicodeString SessionParams = RemoteDirectoryWithSessionParams;
 
+      // We should handle session params in "stored session" branch too.
+      // And particularly if there's a "save" param, we should actually not try to match the
+      // URL against site names
       while (!SessionParams.IsEmpty())
       {
         UnicodeString SessionParam = CutToChar(SessionParams, UrlParamSeparator, false);