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

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


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b3211e3f088597fa9d36231e0a0aa2f7af23b7b8
      https://github.com/OpenSIPS/opensips/commit/b3211e3f088597fa9d36231e0a0aa2f7af23b7b8
  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