Changeset 4228 for pjproject/trunk
- Timestamp:
- Aug 13, 2012 7:26:03 AM (12 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r4227 r4228 77 77 */ 78 78 pj_bool_t allow_port_in_fromto_hdr; 79 80 /** 81 * Allow hash character ('#') to appear in outgoing URIs. See 82 * https://trac.pjsip.org/repos/ticket/1569 83 */ 84 pj_bool_t allow_tx_hash_in_uri; 79 85 80 86 /** -
pjproject/trunk/pjsip/src/pjsip/sip_uri.c
r3553 r4228 270 270 /* Print "user:password@", if any. */ 271 271 if (url->user.slen) { 272 copy_advance_escape(buf, url->user, pc->pjsip_USER_SPEC); 272 const pj_cis_t *spec = pjsip_cfg()->endpt.allow_tx_hash_in_uri ? 273 &pc->pjsip_USER_SPEC_LENIENT : 274 &pc->pjsip_USER_SPEC; 275 copy_advance_escape(buf, url->user, *spec); 273 276 if (url->passwd.slen) { 274 277 *buf++ = ':';
Note: See TracChangeset
for help on using the changeset viewer.