Ignore:
Timestamp:
Apr 28, 2007 2:30:08 PM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #237: interop problem: some endpoints send colon character in Via parameters

File:
1 edited

Legend:

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

    r1083 r1218  
    18441844        pj_str_t pname, pvalue; 
    18451845 
     1846        /* Via's via-extension params should be printed with token spec 
     1847         * according to RFC 3261's generic-param production, but some 
     1848         * endpoint uses pname/pvalue production for these params, by 
     1849         * sending to us Via parameter containing ":". 
     1850         *  
     1851         * So for interoperability sake, lets allow ":" in Via param. 
    18461852        int_parse_param( scanner, pool, &pname, &pvalue); 
     1853         */ 
     1854 
     1855        int_parse_uri_param(scanner, pool, &pname, &pvalue); 
    18471856 
    18481857        if (!parser_stricmp(pname, pjsip_BRANCH_STR) && pvalue.slen) { 
Note: See TracChangeset for help on using the changeset viewer.