of the IMAP user.
(closes issue 10054, reported and patched by jaroth)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71796
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (!mailbox)
return NULL;
- start = strstr(mailbox,"user=");
+ start = strstr(mailbox,"/user=");
if (!start)
return NULL;
ast_mutex_lock(&imaptemp_lock);
- ast_copy_string(imaptemp, start+5, sizeof(imaptemp));
+ ast_copy_string(imaptemp, start+6, sizeof(imaptemp));
ast_mutex_unlock(&imaptemp_lock);
quote = strchr(imaptemp,'\"');