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
Describe the bug
I am trying to parse the ARC-Authentication-Results header on its own, however it is periodically failing on ARC-Authentication-Results headers and i believe the cause is a '/' in the header.d see example.
Platform (please complete the following information):
OS: Tested on windows and amazon linux
.NET Framework: .NET core 2.1
MimeKit Version: 2.4.0
To Reproduce
Steps to reproduce the behavior:
Run a console app with the following main method
static void Main(string[] args)
{
if (AuthenticationResults.TryParse(
Encoding.UTF8.GetBytes(
"i=2; test.com; dkim=pass header.d=test.com header.s=selector1 header.b=Iww3/TIUS; dmarc=pass (policy=reject) header.from=test.com; spf=pass (test.com: domain of [email protected] designates 1.1.1.1 as permitted sender) [email protected]"),
out var parsedAuthenticationResult))
{
Console.WriteLine("Parsed auth results");
}
else
{
Console.WriteLine("Failed to parse auth results");
}
Console.ReadLine();
}
Run the app.
Expected behavior
The application should print Parsed auth results to console, instead it prints Failed to parse auth results.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to parse the ARC-Authentication-Results header on its own, however it is periodically failing on ARC-Authentication-Results headers and i believe the cause is a '/' in the header.d see example.
Platform (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should print Parsed auth results to console, instead it prints Failed to parse auth results.
The text was updated successfully, but these errors were encountered: