Changes between Version 1 and Version 2 of Ticket #23397


Ignore:
Timestamp:
Sep 2, 2014, 12:25:15 PM (10 years ago)
Author:
jhobbs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23397 – Description

    v1 v2  
    11Large files are files larger than the chunk size in MultiPartParser.parse().
    22
    3 Parse tries to process base64 encoded files in chunks with lengths a multiple of 4. The base64 encoded string can contain newline characters, which aren't significant in base64 and should be ignored, but are counted toward's a chunk's length in parse(). This means when whitespace is stripped from the string, the count of base64 encoded characters may not be a multiple of 4, leading to an "Incorrect padding" error.
     3parse() tries to process base64 encoded files in chunks with lengths a multiple of 4. The base64 encoded string can contain newline characters, which aren't significant in base64 and should be ignored, but are counted toward's a chunk's length in parse(). This means when whitespace is stripped from the string, the count of base64 encoded characters may not be a multiple of 4, leading to an "Incorrect padding" error.
    44
    55Here's a testcase for creating this failure:
Back to Top