colossal-furniture-92883
03/07/2024, 7:24 PM@trigger
and publish an ArgoEvent()
, parameter strings with &
(ampersands) are received as Unicode \u0026
, so endpoint apps don't receive the provided parameters.
Here is a sample flow to demonstrate the issue.
I see that the argo-workflow plugin _compile_sensor adds parameters as "{{ .Input.body.payload.%s | toJson }}"
, but digging further, the toJson function is a simple wrapper around Go's json.Marshal which escapes &
(and < >
) for HTML compatible formatting.
Is this the expected behavior? Or is this actually an issue with Argo workflow/events? Any advice is appreciated for insight, solutions or workarounds.
Thanks for making such a great tool!bulky-afternoon-92433
07/02/2024, 1:37 PMbulky-afternoon-92433
07/02/2024, 1:59 PMbulky-afternoon-92433
07/03/2024, 6:47 PM