-
-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that users can modify FormatOptions.Default, we need to be smarter about whether or not we need to reformat header values in Header.GetRawValue(). The old logic used to assume that cached raw values would always use FormatOptions.International=False unless they were explicitly set, but now that FormatOptions.Default.International can be True, we need to cache that value and determine if it has changed since the rawValue was last cached. Realistically, we should be caching other FormatOptions values as well, but this was the most important one (and the only one that was used to determine whether the rawValue needed to be reformatted or not). Also modified the ARC and DKIM verifier logic to share code that clones the user-requested FormatOptions to override certain values like NewLineFormat to also set VerifyingSignature = True. This *may* solve issue #1000
- Loading branch information
Showing
5 changed files
with
51 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters