[sr-dev] [kamailio/kamailio] textops: get_body_part doesn't detect multipart headers ending (#564)

foucse notifications at github.com
Mon Apr 11 13:20:56 CEST 2016


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:
https://github.com/kamailio/kamailio/issues/564
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160411/0f892aee/attachment.html>


More information about the sr-dev mailing list