Fixes bug #3613 that causes tabs to appear in the subject line of emails
Review Request #6647 — Created Nov. 26, 2014 and submitted
Python 2.7 has a problem that causes tabs to be used to break up long headers instead of spaces. When Review Board sends an email with a Subject longer than 62 characters, it inserts a tab to seperate the text into mutiple lines.
Now instead of the Subject header being seperatated by tabs it is seperated by spaces.
Ran unit tests.
Description | From | Last Updated | ||
---|---|---|---|---|
Should be a single import statement. |
|
|||
Not very useful, since it's just saying exactly what the code is saying. |
|
|||
Seems this could probably just be: email.header.Header.__init__ = _unified_header_init Can you try that and see? |
|
|||
There are no open issues |
- Summary:
-
[WIP] Fixes bug #3613 that causes tabs to appear in the subject line of emailsFixes bug #3613 that causes tabs to appear in the subject line of emails
- Commit:
-
ce4771b8e1358394ff033dda53a74b966ea95c14e674b9ce0b4da5a399ec6c3aa773ae9a068eb58f

-
Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py Tool: Pyflakes Processed Files: reviewboard/notifications/email.py
- Commit:
-
e674b9ce0b4da5a399ec6c3aa773ae9a068eb58f0813f4d00ed058b4d165e876843a4eae25ec5330
- Diff:
-
Revision 3 (+14 -1)