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/branches/1.4@98894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Joshua Colp 18 years ago
parent d186a861cf
commit e3458a4976

@ -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;

Loading…
Cancel
Save