Roundup Tracker - Issues

Message3921

Author schlatterbeck
Recipients ThomasAH, schlatterbeck
Date 2009-12-01.09:22:28
Message-id <1259659348.81.0.479196341722.issue2550586@psf.upfronthosting.co.za>
In-reply-to
Fixed in r4395
For download of modified cgi/client.py, see
http://svn.roundup-tracker.org/viewvc/roundup/roundup/trunk/roundup/cgi/client.py?view=log

Turns out that the url .../msg1/ requests download of the file in the
content property of a message. For messages the type property (which
should contain the mime time) is empty. That means we get the python
value None in one of the header fields which led to the traceback.

Fix: If the mime type is None we set it to text/plain. This only happens
for messages (files *do* have a mime type set).
History
Date User Action Args
2009-12-01 09:22:28schlatterbecksetmessageid: <1259659348.81.0.479196341722.issue2550586@psf.upfronthosting.co.za>
2009-12-01 09:22:28schlatterbecksetrecipients: + schlatterbeck, ThomasAH
2009-12-01 09:22:28schlatterbecklinkissue2550586 messages
2009-12-01 09:22:28schlatterbeckcreate