Changeset 5280
- Timestamp:
- Apr 20, 2016 1:58:15 AM (9 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r5275 r5280 1150 1150 pvalue->slen -= 2; 1151 1151 } 1152 } else if (*scanner->curptr == '[') {1152 // } else if (*scanner->curptr == '[') { 1153 1153 /* pvalue can be a quoted IPv6; in this case, the 1154 1154 * '[' and ']' quote characters are to be removed 1155 * from the pvalue. 1155 * from the pvalue. 1156 * 1157 * Update: this seems to be unnecessary and may cause 1158 * parsing error for cases such as IPv6 reference with 1159 * port number. 1156 1160 */ 1157 pj_scan_get_char(scanner);1158 pj_scan_get_until_ch(scanner, ']', pvalue);1159 pj_scan_get_char(scanner);1161 // pj_scan_get_char(scanner); 1162 // pj_scan_get_until_ch(scanner, ']', pvalue); 1163 // pj_scan_get_char(scanner); 1160 1164 } else if(pj_cis_match(spec, *scanner->curptr)) { 1161 1165 parser_get_and_unescape(scanner, pool, spec, esc_spec, pvalue); -
pjproject/trunk/pjsip/src/test/uri_test.c
r4728 r5280 723 723 url->user = pj_str("user"); 724 724 url->host = pj_str("::1"); 725 url->maddr_param = pj_str(" ::01");725 url->maddr_param = pj_str("[::01]"); 726 726 return (pjsip_uri*)url; 727 727 } … … 733 733 url = pjsip_sip_uri_create(pool, 0); 734 734 url->host = pj_str("::1"); 735 url->maddr_param = pj_str(" ::01");735 url->maddr_param = pj_str("[::01]"); 736 736 return (pjsip_uri*)url; 737 737
Note: See TracChangeset
for help on using the changeset viewer.