[OpenSIPS-Devel] [ opensips-Patches-2538033 ] filter all body headers during filter_body

SourceForge.net noreply at sourceforge.net
Sat Feb 14 23:34:33 CET 2009


Patches item #2538033, was opened at 2009-01-26 18:36
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2538033&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
>Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Hugues Mitonneau (hmitonneau)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: filter all body headers during filter_body

Initial Comment:
When 'content-type' is not the last header of a multipart content, remaining headers were not filtered out.
For example, if a multipart contains something like this, the 'Content-Length' header was not filtered, resulting in an invalid sdp content:
> --Boundary
> Content-Type: application/sdp
> Content-Length: 488
> 
> ...
> --Boundary--


----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-02-15 00:34

Message:
Hi Hugues,

Thanks for the fix -  I applied it on both trunk and 1.4 branch.

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2538033&group_id=232389



More information about the Devel mailing list