From 570fa22daaf0452dad786205b123fcbc10a8acc4 Mon Sep 17 00:00:00 2001 From: Ondrej Pokorny Date: Wed, 16 Oct 2024 20:00:06 +0200 Subject: [PATCH] ParseURI: a colon is a valid character in the path or the document part of the URI --- packages/fcl-base/src/uriparser.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/fcl-base/src/uriparser.pp b/packages/fcl-base/src/uriparser.pp index a19e7e6690..7e038664b4 100644 --- a/packages/fcl-base/src/uriparser.pp +++ b/packages/fcl-base/src/uriparser.pp @@ -252,9 +252,7 @@ begin else Result.Document := ''; break; - end else if s[i] = ':' then - break - else if i = 1 then + end else if i = 1 then begin Result.Document :=s; if Decode then