Changeset 4288 for pjproject/trunk/pjsip/src/pjsip/sip_parser.c
- Timestamp:
- Oct 26, 2012 9:30:37 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r3553 r4288 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.