@xkaraman commented on this pull request.


> @@ -343,6 +343,9 @@ int replace_uri(struct sip_msg *msg, str *display, str 
> *uri,
                                pkg_free(buf.s);
                                goto error;
                        }
+               } else {
+                       /* deal with extra whitespace when the display is 
removed */
+                       l = del_lump(msg, body->display.s - msg->buf - 1, 1, 0);

Hmm ok didn't consider that case. will adopt.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4586#discussion_r2792178004
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4586/review/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to