[asterisk-commits] file: trunk r98895 - in /trunk: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 14 16:44:21 CST 2008
Author: file
Date: Mon Jan 14 16:44:20 2008
New Revision: 98895
URL: http://svn.digium.com/view/asterisk?view=rev&rev=98895
Log:
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
........
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=98895&r1=98894&r2=98895
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jan 14 16:44:20 2008
@@ -5584,7 +5584,7 @@
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;
More information about the asterisk-commits
mailing list