aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-09 17:22:38 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-09 17:22:38 +0000
commitcfbd49676e5f06abd20699bdc65e0136ce6dc16b (patch)
treedff374500ac09802ba6ecce0f30f00008dc2b234 /channels
parent73e0d466354c7f4fc5307dc878c6c3c84a0df30e (diff)
Merged revisions 187381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r187381 | tilghman | 2009-04-09 12:20:49 -0500 (Thu, 09 Apr 2009) | 4 lines Allow '/' in username portion of register; this is a regression. (closes issue #14668) Reported by: Netview ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@187388 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e6c1d4257..0e36de382 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6546,7 +6546,7 @@ static int sip_register(const char *value, int lineno)
expire = strchr(buf, '~');
if (expire)
*expire++ = '\0';
- callback = strchr(buf, '/');
+ callback = strrchr(buf, '/');
if (callback)
*callback++ = '\0';
if (ast_strlen_zero(callback))