mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 21:09:20 +02: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