diff --git a/main.pas b/main.pas index 2ea92d3..1c048f3 100644 --- a/main.pas +++ b/main.pas @@ -2788,6 +2788,8 @@ and not mainfrm.noPortInUrlChk.checked then result:=':'+srv.port+result; if ip = '' then ip:=defaultIP; +if Pos(':',ip, Pos(':',ip)+1) > 0 then // ipv6 + ip:='['+getTill('%',ip)+']'; result:=protoColon()+ip+result; end; // fullURL