Comment 4 for bug 505078

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 505078] [NEW] crashes with "invalid literal for int() with base 16: ''" if linefeeds are missing from the file

On Sat, 2010-01-09 at 08:36 +0000, Martin Pool wrote:
> Public bug reported:
>
> It turns out that this crash occurs if the linefeeds are missing from
> the multipart section.

Oh also, if something is stripping them and we can reasonably expect
this to happen, then I'm very happy to make subunit's parser be more
tolerant - a subunit stream isn't http itself, after all, and I don't
think a more tolerant parser will lead to security issues in this
context.

-Rob