Ignore:
Timestamp:
Apr 29, 2007 6:30:58 AM (14 years ago)
Author:
bennylp
Message:

Fixed ticket #239: Error parsing/printing quoted parameters, and added header tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsip/sip_uri.c

    r974 r1222  
    111111        if (p->value.slen) { 
    112112            *buf++ = '='; 
    113             copy_advance_escape(buf, p->value, (*pvalue_spec)); 
     113            if (*p->value.ptr == '"') 
     114                copy_advance(buf, p->value); 
     115            else 
     116                copy_advance_escape(buf, p->value, (*pvalue_spec)); 
    114117        } 
    115118        p = p->next; 
Note: See TracChangeset for help on using the changeset viewer.