Hello, recently we spotted this bug - when using parentheses (round brackets) in webhook data fields - they’re are corrupting request data:
Request preview shows it normally:
But the actual data sent to the server is corrupted:
Server responds with json_encode( $_POST )
no other processing is made.
It gets worse with array form keys:
Preview also looks fine:
But the whole value string is replaced with substring from parentheses:
And with JSON payload type:
Request looks completely weird:
We know we can escape all brackets manually via code step (similar to this issue), but since preview shows data correctly and only the actual request is corrupted we believe it might be some bug in webhook module.
After some testing we found it’s yyy(zzz)
pattern that causes issues. It’s not breaking stuff if we add space yyy (zzz)
or if we remove one bracket.
Thanks!