diff options
author | Joshua Colp <jcolp@digium.com> | 2014-11-19 11:50:54 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-11-19 11:50:54 +0000 |
commit | 87c2e9e2387d3c1e8751e379d2ee92e855c1e85a (patch) | |
tree | b15cdf8d80a87d81f01653acf4f89214f02a1b2e /CHANGES | |
parent | 8648bc1f6fd1269ba5def7f9655cea96a0f3b725 (diff) |
res_pjsip_refer: Ensure Refer-To is NULL terminated and parse it as a URI.
There is no guarantee that when we get a Refer-To that it will be NULL terminated.
As the URI parsing function requires it to be we now NULL terminate it.
Additionally parsing the Refer-To as a 'To' header is needless and it can
simply be done as a URI. This also fixes a problem where certain Refer-To headers
would not be parsed as a 'To' header causing the REFER to fail.
ASTERISK-24508 #close
Reported by: Beppo Mazzucato
Review: https://reviewboard.asterisk.org/r/4187/
........
Merged revisions 428195 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions