Skip to content

Commit 44d9ac8

Browse files
committed
Version 1.3.0 - Patch
- Support for .NET 8 was introduced - Refactored the code - IOK-based endpoints are currently out of order
1 parent b5770bb commit 44d9ac8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PhishReport/Constants.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ internal class Constants
4040
"savepage-we"
4141
};
4242

43-
public static readonly Regex IokIndicatorRegex = new(@"href=\""\/IOK\/indicators\/(.+)\"">", RegexOptions.Multiline | RegexOptions.Compiled);
43+
private static readonly Regex Regex = new(@"href=\""\/IOK\/indicators\/(.+)\"">", RegexOptions.Multiline | RegexOptions.Compiled);
44+
public static readonly Regex IokIndicatorRegex = Regex;
4445
}
4546
}

PhishReport/PhishReport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ private async Task PollIoK()
195195
IokMatch[] matches = await GetIokMatches();
196196

197197
if (LastIokMatches is null) found = matches;
198-
else found = matches.Where(match => LastIokMatches.All(last => match.UrlscanUUID != last.UrlscanUUID)).ToArray();
198+
else found = matches.Where(match => LastIokMatches.All(last => match.UrlscanUuid != last.UrlscanUuid)).ToArray();
199199

200200
LastIokMatches = matches;
201201

0 commit comments

Comments
 (0)