diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-14 22:41:55 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-14 22:41:55 +0000 |
commit | a15e6eb0fde27ffb4ec9016cf82bb722daf30607 (patch) | |
tree | 8ff51531672a3503b904f12600e6132fe85e78a9 /channels | |
parent | 231e2ad7db8d588f01ee8d8ed4cd68b36685fcd8 (diff) |
Accept "; boundary=" not just ";boundary=" in the multipart mixed content type.
(closes issue #11750)
Reported by: tasker
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@98894 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 92c138910..418f4df85 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4864,7 +4864,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; |