Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core
Commits:
05d60864 by Mark Sapiro at 2019-08-21T18:32:43Z
Properly capitalize new Subject: header.
- - - - -
e8ef9a8a by Mark Sapiro at 2019-08-21T18:32:43Z
Merge branch 'nntp' into 'master'
Properly capitalize new Subject: header.
See merge request mailman/mailman!550
- - - - -
1 changed file:
- src/mailman/runners/nntp.py
Changes:
=====================================
src/mailman/runners/nntp.py
=====================================
@@ -127,7 +127,7 @@ def prepare_message(mlist, msg, msgdata):
msgdata.get('original_subject'))
if not mlist.nntp_prefix_subject_too and stripped_subject is not None:
del msg['subject']
- msg['subject'] = stripped_subject
+ msg['Subject'] = stripped_subject
# Add the appropriate Newsgroups header. Multiple Newsgroups headers are
# generally not allowed so we're not testing for them.
header = msg.get('newsgroups')
View it on GitLab:
https://gitlab.com/mailman/mailman/compare/e99fdce9a4ac1c3e1287500e9c1efbde47a58402...e8ef9a8a63af7cb30dce15bdcaf5be14d1ad3d43
--
View it on GitLab:
https://gitlab.com/mailman/mailman/compare/e99fdce9a4ac1c3e1287500e9c1efbde47a58402...e8ef9a8a63af7cb30dce15bdcaf5be14d1ad3d43
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org