mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-25 18:01:53 +02:00
* Fix bug #0033544, result not properly initialized
git-svn-id: trunk@38770 -
This commit is contained in:
parent
e4ef17b5c0
commit
f8be245097
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user