mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* Length comparison
This commit is contained in:
parent
8539a8b727
commit
b1179dd872
@ -300,7 +300,7 @@ begin
|
||||
SetLength(Authority, i - 1);
|
||||
|
||||
// Extract username and password
|
||||
if Authority <> '' then
|
||||
if Length(Authority)>0 then
|
||||
begin
|
||||
i := Pos(':', Authority);
|
||||
if i = 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user