- Correct line separtor after AAR header field (LP: #2049018) - Thanks to Nikolay Vizovitin for the report and the fix
This commit is contained in:
+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