Sylvain
unread,Sep 30, 2009, 12:04:51 PM9/30/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tornado Web Server
Hi,
If I upload a file with a semicolon (;) ["my;file.pdf"], Tornado
crashes
File "tornado\wsgi.py", line 172, in _parse_mime_body
name, name_value = name_part.strip().split("=", 1)
ValueError: need more than 1 value to unpack
Semicolon in filename is most of the time nerver well handled in
python (don't know why it is not fixed... or maybe I don't know how it
works) and we "often' get : "my" instead of "my;file.pdf".
But here, it crashes, so I think it needs to be fixed.
Best regards.
Sylvain