[asterisk-bugs] [JIRA] Created: (ASTERISK-20561) URI-Encoding within from-header for special character "#"
Deniz (JIRA)
noreply at issues.asterisk.org
Mon Oct 15 03:19:27 CDT 2012
URI-Encoding within from-header for special character "#"
---------------------------------------------------------
Key: ASTERISK-20561
URL: https://issues.asterisk.org/jira/browse/ASTERISK-20561
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_sip/General
Affects Versions: 1.8.17.0
Reporter: Deniz
When setting CALLERID(num)=#0012345678 asterisk is generating from-header:
from: <sip:#0012345678 at 192.168.110.12>
My understanding of RFC 3261 usernames are just allowed to contain alphanumeric characters, escape-sequences and some special characters (which do not include #).
RFC 3261 refers to rfc2396 for more details which describes # as delimiter and not allowed to be part of URI.
So, this character has to be replaced by "%23".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list