Correct signature in ARC-Seal on LF as linesep (LP: #2052720) - Thanks to Nikolay Vizovitin for the report and the fix

This commit is contained in:
Scott Kitterman
2024-06-23 17:26:31 -04:00
parent 71f5d118e6
commit 1ffa2cb090
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ def strip_trailing_lines(content):
return content[:end]
def unfold_header_value(content):
return re.sub(b"\r\n", b"", content)
return re.sub(b"\r?\n", b"", content)
def correct_empty_body(content):