[OpenSIPS-Devel] [OpenSIPS/opensips] 56a5a3: Fix building TO / FROM hdr via t_uac()

Bogdan Andrei IANCU noreply at github.com
Thu Jan 19 14:43:07 UTC 2023


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 56a5a3977166014dcecc444991176420b7d54de5
      https://github.com/OpenSIPS/opensips/commit/56a5a3977166014dcecc444991176420b7d54de5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M modules/tm/t_msgbuilder.c

  Log Message:
  -----------
  Fix building TO / FROM hdr via t_uac()

t_uac() gets URIs as values for TO / FROM, so these URIs may contain URI params. If those URIs are placed into headers without <> enclosing, their params will become header params :(
So, to be sure, let's enclose the URIs all the time.

Closes 2843

(cherry picked from commit 9af192693f419751ff3fc704d5286274752171b1)





More information about the Devel mailing list