[OpenSIPS-Devel] [OpenSIPS/opensips] d65b57: transformations: Fix edge-cases with {param.value}...
Liviu Chircu
noreply at github.com
Tue Jan 9 13:30:53 UTC 2024
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: d65b57494d7fa1cee809639f80378738c5d95461
https://github.com/OpenSIPS/opensips/commit/d65b57494d7fa1cee809639f80378738c5d95461
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