bugcgicc - Bugs: bug #40329, Wrong separator in...


bug #40329: Wrong separator in multipart/form-data

Submitted by:  eeriedoy <eeriedoy>
Submitted on:  Mon 21 Oct 2013 12:05:31 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  sebastien diaz <sebdiaz>
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 21 Oct 2013 12:05:31 PM UTC, original submission:

If header like below,
"Content-Type: multipart/form-data; boundary=XXXx; charset=utf8"

separator is "XXXx; charset=utf8".

// File upload type = multipart/form-data
else if(stringsAreEqual(multipart_type, content_type,

// Find out what the separator is
std::string bType = "boundary=";
std::string::size_type pos = content_type.find(bType);

// generate the separators
std::string sep1 = content_type.substr(pos + bType.length());

need Find ';' ...

eeriedoy <eeriedoy>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by eeriedoy (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-01 sebdiaz StatusNone => Fixed
        PrivacyPrivate => Public
        Assigned toNone => sebdiaz
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.4