Issue 675116
Created on 2003-01-26 21:27 by sit, last changed 2003-01-26 21:27 by sit.
History | |||
---|---|---|---|
Date | User | Action | Args |
2003-01-26 21:27:46 | sit | create |
Created on 2003-01-26 21:27 by sit, last changed 2003-01-26 21:27 by sit.
Messages | |||
---|---|---|---|
msg603 | Author: [hidden] (sit) | Date: 2003-01-26 21:27 | |
Attachments whose names are specified as part of the Content-Disposition header do not get parsed correctly. The 'disp' return value of part.getheader is a str, not something which you can call getparam on. e.g. An unexpected error occurred during the processing of your message. The tracker administrator is being notified. ---- traceback of failure ---- Traceback (most recent call last): File "/var/tmp/r/lib/python2.2/site-packages/roundup/mailgw.py", line 252, in handle_Message return self.handle_message(message) File "/var/tmp/r/lib/python2.2/site-packages/roundup/mailgw.py", line 760, in handle_message name = disp.getparam('filename') AttributeError: 'str' object has no attribute 'getparam' The headers generated (in this case, by mutt), it looks like: Content-Type: multipart/mixed; boundary="bCsyhTFzCvuiizWE" Content-Disposition: inline --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline test attachment binary --bCsyhTFzCvuiizWE Content-Type: application/octet-stream Content-Disposition: attachment; filename="main.dvi" Content-Transfer-Encoding: base64 xxxxxx |
History | |||
---|---|---|---|
Date | User | Action | Args |
2003-01-26 21:27:46 | sit | create |
Supported by The Python Software Foundation,
Powered by Roundup