* Fix bug #0033544, result not properly initialized

git-svn-id: trunk@38770 -
This commit is contained in:
michael 2018-04-14 12:17:29 +00:00
parent e4ef17b5c0
commit f8be245097

View File

@ -167,11 +167,14 @@ begin
end;
function ParseURI(const URI, DefaultProtocol: String; DefaultPort: Word;Decode : Boolean = True): TURI;
var
s, Authority: String;
i,j: Integer;
PortValid: Boolean;
begin
Result:=Default(TURI);
Result.Protocol := LowerCase(DefaultProtocol);
Result.Port := DefaultPort;