Author jonas.wagner
Recipients jonas.wagner
Date 2011-06-25.15:09:07
SpamBayes Score 1.79871e-06
Marked as misclassified No
Message-id <>
While writing tests for the cgi module I came across what looks like a conversion bug.

cgi.parse_multipart is comparing values it reads from a binary file like with a string literal:
line = fp.readline()
if line.startswith("--"):

This patch adds fixes the issue and adds test for it.
Date User Action Args
2011-06-25 15:09:08jonas.wagnersetrecipients: + jonas.wagner
2011-06-25 15:09:08jonas.wagnersetmessageid: <>
2011-06-25 15:09:07jonas.wagnerlinkissue12411 messages
2011-06-25 15:09:07jonas.wagnercreate