Changeset 4387 for pjproject/branches/1.x/pjsip/src/pjsip/sip_parser.c
- Timestamp:
- Feb 27, 2013 10:16:08 AM (10 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x
- Property svn:mergeinfo changed
/pjproject/trunk merged: 4212,4217,4232-4233,4235,4238,4266,4283,4288,4308,4312,4330,4354,4364,4366
- Property svn:mergeinfo changed
-
pjproject/branches/1.x/pjsip/src/pjsip/sip_parser.c
r3553 r4387 1523 1523 /* Get the SIP-URL */ 1524 1524 has_bracket = (*scanner->curptr == '<'); 1525 if (has_bracket) 1525 if (has_bracket) { 1526 1526 pj_scan_get_char(scanner); 1527 } else if (name_addr->display.slen) { 1528 /* Must have bracket now (2012-10-26). 1529 * Allowing (invalid) name-addr to pass URI verification will 1530 * cause us to send invalid URI to the wire. 1531 */ 1532 PJ_THROW( PJSIP_SYN_ERR_EXCEPTION); 1533 } 1527 1534 name_addr->uri = int_parse_uri( scanner, pool, PJ_TRUE ); 1528 1535 if (has_bracket) {
Note: See TracChangeset
for help on using the changeset viewer.