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

2016-09-13 Thread Daniel-Constantin Mierla
Closed #564. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/564#event-787396422___ sr-dev mailing list sr-dev@lists.sip-router.org

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

2016-09-13 Thread Daniel-Constantin Mierla
If still an issue, reopen, the patch referenced above is more than 5 months old. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub:

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

2016-05-17 Thread Victor Seva
@foucse can you try this changes? --- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/564#issuecomment-219702915___ sr-dev mailing list

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

2016-04-25 Thread Daniel-Constantin Mierla
Thanks for troubleshooting further. If you test your solution and works ok, make a pull request with the patch, to be reviewed and eventually merged. --- You are receiving this because you commented. Reply to this email directly or view it on GitHub:

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

2016-04-23 Thread foucse
I finally had some time to look into the source code, the issue comes from the file textops/textops.c:2071 ```C while (find_line_start("Content-Type: ", 14, , )) { end = start + 14; len = len - 14; if (len > (content_type.len + 2))

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

2016-04-11 Thread foucse
Hi, Here is one example, the XML body is not standard (yet), so I had to remove it. Content-Length is to be checked ``` 2016/04/11 16:38:17.645936 192.168.2.2:5062 -> 192.168.100.1:5060 INVITE sip:b...@example.com SIP/2.0 via: SIP/2.0/UDP 192.168.2.2:5062;branch=z9hG4bK-18344-1-10 From: "alice"