Browse Source

* Use AppendPathInfo

git-svn-id: trunk@43061 -
michael 5 years ago
parent
commit
85616e7dc7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-web/examples/simpleserver/simpleserver.pas

+ 2 - 2
packages/fcl-web/examples/simpleserver/simpleserver.pas

@@ -132,7 +132,7 @@ begin
     EHTTP.CreateFmt('Invalid proxy definition: %s',[aProxyDef]);
     EHTTP.CreateFmt('Invalid proxy definition: %s',[aProxyDef]);
   N:=Copy(aProxyDef,1,P-1);
   N:=Copy(aProxyDef,1,P-1);
   URL:=Copy(aProxyDef,P+1,Length(aProxyDef));
   URL:=Copy(aProxyDef,P+1,Length(aProxyDef));
-  ProxyManager.RegisterLocation(N,URL);
+  ProxyManager.RegisterLocation(N,URL).AppendPathInfo:=True;
 end;
 end;
 
 
 
 
@@ -177,7 +177,7 @@ begin
         begin
         begin
         L.GetNameValue(I,P,U);
         L.GetNameValue(I,P,U);
         if (P<>'') and (U<>'') then
         if (P<>'') and (U<>'') then
-          ProxyManager.RegisterLocation(P,U);
+          ProxyManager.RegisterLocation(P,U).AppendPathInfo:=true;
         end;
         end;
     finally
     finally
       L.Free;
       L.Free;