diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-14 22:44:20 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-14 22:44:20 +0000 |
commit | af7531177623acbd1297bd5b8cebe7cac9d5621a (patch) | |
tree | 23f96a7569346212a4c5411e9fc90e394be7ca6f | |
parent | 880ddb7103bdcde7455877e4cb43dea5cdec1b4a (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@98895 f38db490-d61c-443f-a65b-d21fe96a405b
-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 87f54a111..fd6e75636 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; |