Ignore:
Timestamp:
Oct 13, 2010 11:17:51 AM (14 years ago)
Author:
bennylp
Message:

Fixed #1147 (Bug in parsing multipart message bodies (thanks Johan Lantz for the report)): leave the quote in parameter values and let the multipart code handle this instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_multipart.c

    r3340 r3342  
    522522    if (ctype_param) { 
    523523        boundary = ctype_param->value; 
     524        if (boundary.slen>2 && *boundary.ptr=='"') { 
     525            /* Remove quote */ 
     526            boundary.ptr++; 
     527            boundary.slen -= 2; 
     528        } 
    524529        TRACE_((THIS_FILE, "Boundary is specified: '%.*s'", (int)boundary.slen, 
    525530                boundary.ptr)); 
Note: See TracChangeset for help on using the changeset viewer.