Roundup Tracker - Issues

Message603

Author sit
Recipients
Date 2003-01-26.21:27:46
Message-id
In-reply-to
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
2009-02-03 14:20:12adminlinkissue675116 messages
2009-02-03 14:20:12admincreate