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