mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-28 15:01:34 +01:00
parent
0d87df71a9
commit
437aab34de
@ -266,7 +266,7 @@ begin
|
|||||||
// Extract the port number
|
// Extract the port number
|
||||||
|
|
||||||
i := LastDelimiter(':@', Authority);
|
i := LastDelimiter(':@', Authority);
|
||||||
if (i > 0) and (Authority[i] = ':') then
|
if (i > 0) and (i < Length(Authority)) and (Authority[i] = ':') then
|
||||||
begin
|
begin
|
||||||
PortValid := true;
|
PortValid := true;
|
||||||
for j:=i+1 to Length(Authority) do
|
for j:=i+1 to Length(Authority) do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user