Преглед изворни кода

ParseURI: a colon is a valid character in the path or the document part of the URI

Ondrej Pokorny пре 9 месеци
родитељ
комит
570fa22daa
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      packages/fcl-base/src/uriparser.pp

+ 1 - 3
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