mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 20:59:06 +02:00
fixed AppendURLPathDelim
git-svn-id: trunk@9380 -
This commit is contained in:
parent
e70bad90fa
commit
3292e89b04
@ -742,7 +742,9 @@ end;
|
|||||||
function AppendURLPathDelim(const URLPath: string): string;
|
function AppendURLPathDelim(const URLPath: string): string;
|
||||||
begin
|
begin
|
||||||
if (Result<>'') and (Result[length(Result)]<>'/') then
|
if (Result<>'') and (Result[length(Result)]<>'/') then
|
||||||
Result:=Result+'/';
|
Result:=URLPath+'/'
|
||||||
|
else
|
||||||
|
Result:=URLPath;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ExtractURLPath(const URL: string): string;
|
function ExtractURLPath(const URL: string): string;
|
||||||
|
Loading…
Reference in New Issue
Block a user