* Fix (adapted) from bug #23372

git-svn-id: trunk@23051 -
This commit is contained in:
michael 2012-11-23 20:00:58 +00:00
parent d4ac343e3a
commit 8e67bf6e15

View File

@ -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+'/';