diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-09 17:23:14 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-09 17:23:14 +0000 |
commit | 656f024b5fc2e5105c0f40f15ea555393f477be8 (patch) | |
tree | ddea378f5242318b7f1a434dff753df99f140d97 /channels | |
parent | e187b2e3466bd8d4a4f2313b1897ed0e81037915 (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.2@187391 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f080f1963..1c01815b2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6974,7 +6974,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)) |