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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: sebastien diaz <sebdiaz>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Jan 2014 10:15:03 AM UTCsebdiazStatusNone=>Fixed
      Assigned toNone=>sebdiaz

    Back to the top

    Powered by Savane 3.1-cleanup