When I use get_body_part on a multipart body, it doesn't detect properly the ending of multipart headers:

For instance in:

--vvemeemm0wqr7ayc5h367f3v8e66mc9t
Content-Type: application/sdp
Content-Length: 479

v=0
o=- 3669362310 3669362310 IN IP4 192.168.2.4
[...]

"Content-Length: 479" is taken into get_body_part("application/sdp", "$var(sdp)");

I will try to provide more details later.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub