You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
url_: string; // an alias, final '_' is to not confuse with the other var
4628
4627
s: string;
4628
+
4629
+
functiondecodedUrl():string;
4630
+
begin
4631
+
if conn = NILthen
4632
+
exit('');
4633
+
result:=decodeURL(conn.request.url);
4634
+
end;
4635
+
4629
4636
begin
4630
4637
if assigned(data) and data.dontLog and (event <> HE_DISCONNECTED) then exit; // we exit expect for HE_DISCONNECTED because dontLog is always set AFTER connections, so HE_CONNECTED is always logged. The coupled HE_DISCONNECTED should be then logged too.
4631
4638
4632
4639
if assigned(data) and (data.preReply = PR_BAN)
4633
4640
andnot logBannedChk.checked then exit;
4634
4641
4635
-
if conn = NILthen url_:=''
4636
-
else url_:=decodeURL(conn.request.url);
4637
4642
ifnot (event in [HE_OPEN, HE_CLOSE, HE_CONNECTED, HE_DISCONNECTED, HE_GOT]) then
4638
4643
ifnot logIconsChk.checked and (data.downloadingWhat = DW_ICON)
4639
4644
ornot logBrowsingChk.checked and (data.downloadingWhat = DW_FOLDERPAGE)
4640
-
ornot logProgressChk.checked and (url_ = '/~progress') then
4645
+
ornot logProgressChk.checked and (decodedUrl() = '/~progress') then
4641
4646
exit;
4642
-
4643
4647
ifnot (event in [HE_OPEN, HE_CLOSE])
4644
4648
and addressMatch(dontLogAddressMask, data.address) then
0 commit comments