From: Joshua Colp Date: Mon, 14 Jan 2008 22:44:20 +0000 (+0000) Subject: Merged revisions 98894 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698ad33d7b1fb44cdca3f44e60f34b5740b584cf;p=thirdparty%2Fasterisk.git Merged revisions 98894 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r98894 | file | 2008-01-14 18:41:55 -0400 (Mon, 14 Jan 2008) | 4 lines Accept "; boundary=" not just ";boundary=" in the multipart mixed content type. (closes issue #11750) Reported by: tasker ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98895 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 87f54a1113..fd6e756368 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5584,7 +5584,7 @@ static int find_sdp(struct sip_request *req) return 0; /* if there is no boundary marker, it's invalid */ - if (!(search = strcasestr(content_type, ";boundary="))) + if (!(search = strcasestr(content_type, ";boundary=")) && (!(search = strcasestr(content_type, "; boundary=")))) return 0; search += 10;