* Use AppendPathInfo

git-svn-id: trunk@43061 -
This commit is contained in:
michael 2019-09-23 15:19:25 +00:00
parent 43685c95a8
commit 85616e7dc7

View File

@ -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;