Browse Source

* Fix overload selection

Michael VAN CANNEYT 2 năm trước cách đây
mục cha
commit
f0d18fa0ca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/fcl-web/src/restbridge/sqldbrestbridge.pp

+ 1 - 1
packages/fcl-web/src/restbridge/sqldbrestbridge.pp

@@ -2352,7 +2352,7 @@ begin
   // Check & discard basepath parts of the URL
   Path:=aRequest.GetNextPathInfo;
   Full:=BasePath;
-  BasePaths:=Full.Split('/',TStringSplitOptions.ExcludeEmpty);
+  BasePaths:=Full.Split(RTLString('/'),TStringSplitOptions.ExcludeEmpty);
   I:=0;
   While (I<Length(BasePaths)) and SameText(Path,BasePaths[i]) do
     begin