summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 537ed21)
raw | patch | inline | side by side (parent: 537ed21)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 19 Apr 2010 03:56:54 +0000 (03:56 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 19 Apr 2010 03:56:54 +0000 (03:56 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4481 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
doc/acknowledgements.txt | patch | blob | history | |
roundup/mailgw.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 3be78b0409f550080a13d9c388a4662774b592f8..517367656465208dea7124f2d758af4fac100ce7 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
http://thread.gmane.org/gmane.comp.bug-tracking.roundup.user/10040
thanks to Hauke Duden for reporting these.
- frontends/roundup.cgi got out of sync with the roundup.cgi.Client API
+- Default to "text/plain" if no Content-Type header is present in email
+ (thanks Hauke Duden)
2010-02-23 1.5.0
index c7cdcc2c97db849d3cfb42cb46a90ec74b187f49..105bc6254f0e1a57f0429021f7f494e479fc866d 100644 (file)
--- a/doc/acknowledgements.txt
+++ b/doc/acknowledgements.txt
Bradley Dean,
Toby Dickenson,
Paul F. Dubois,
+Hauke Duden,
Eric Earnst,
Peter Eisentraut,
Andrew Eland,
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index 5055756c948c478b27624929f57ca78201696b6a..61f3cdfa8ba95aa38f87550eb4de888ed1791bc2 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
def getheader(self, name, default=None):
hdr = mimetools.Message.getheader(self, name, default)
+ # TODO are there any other False values possible?
+ # TODO if not hdr: return hdr
+ if hdr is None:
+ return None
if not hdr:
return ''
if hdr: