[OpenSIPS-Devel] [OpenSIPS/opensips] 041a7b: transformations: Fix edge-cases with {param.value}...
Liviu Chircu
noreply at github.com
Tue Jan 9 13:30:05 UTC 2024
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 041a7b5bc79367297d4e7d340176b4b096a1c835
https://github.com/OpenSIPS/opensips/commit/041a7b5bc79367297d4e7d340176b4b096a1c835
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!
(cherry picked from commit b7c4f2a3bb3307b3c505f7017934a52bef8762fd)
More information about the Devel
mailing list