[OpenSIPS-Devel] [OpenSIPS/opensips] b7c4f2: transformations: Fix edge-cases with {param.value}...

Liviu Chircu noreply at github.com
Tue Jan 9 13:28:29 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b7c4f2a3bb3307b3c505f7017934a52bef8762fd
      https://github.com/OpenSIPS/opensips/commit/b7c4f2a3bb3307b3c505f7017934a52bef8762fd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M str.h
    M transformations.c

  Log Message:
  -----------
  transformations: Fix edge-cases with {param.value} and {uri.param}

For inputs containing only the parameter part, these transformations
would return a bogus {NULL, 0} value (flagged as PV_VAL_STR), which
cannot be used in assignments or conditional checks:

Credits to Bogdan-Andrei Iancu for finding this issue!





More information about the Devel mailing list