mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-03 04:29:20 +02:00
parent
d4ac343e3a
commit
8e67bf6e15
@ -289,7 +289,9 @@ Var
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
D:=URI.Path;
|
D:=URI.Path;
|
||||||
If (D[1]<>'/') then
|
If Length(D) = 0 then
|
||||||
|
D := '/'
|
||||||
|
else If (D[1]<>'/') then
|
||||||
D:='/'+D;
|
D:='/'+D;
|
||||||
If (D[Length(D)]<>'/') then
|
If (D[Length(D)]<>'/') then
|
||||||
D:=D+'/';
|
D:=D+'/';
|
||||||
|
Loading…
Reference in New Issue
Block a user