- Correct line separtor after AAR header field (LP: #2049018) - Thanks to Nikolay Vizovitin for the report and the fix
This commit is contained in:
@@ -4,6 +4,8 @@ UNRELEASED Version 1.1.7
|
||||
- Correct ARC signing for AR headers with authres-version or comments
|
||||
before resinfo (LP: #2052526) - Thanks to Nikolay Vizovitin for the
|
||||
report and the fix
|
||||
- Correct line separtor after AAR header field (LP: #2049018) - Thanks to
|
||||
Nikolay Vizovitin for the report and the fix
|
||||
|
||||
2024-04-14 Version 1.1.6
|
||||
- Use raw byte string for regex; fixes SyntaxWarning in Python 3.12 due to
|
||||
|
||||
+1
-2
@@ -1118,8 +1118,7 @@ class ARC(DomainSigner):
|
||||
arc_headers = []
|
||||
|
||||
# Compute ARC-Authentication-Results
|
||||
aar_value = ("i=%d; " % instance).encode('utf-8') + auth_results
|
||||
if aar_value[-1] != b'\n': aar_value += b'\r\n'
|
||||
aar_value = ("i=%d; " % instance).encode('utf-8') + auth_results.rstrip() + self.linesep
|
||||
|
||||
new_arc_set.append(b"ARC-Authentication-Results: " + aar_value)
|
||||
self.headers.insert(0, (b"arc-authentication-results", aar_value))
|
||||
|
||||
Reference in New Issue
Block a user