When attempting to set special characters(\r or \n in particular) in variables via the execute-app-arg they can be stripped out by the ESL header parser. This can cause issues when trying to format sip_multipart variables that include multipart headers.
Overview
Add a boolean parameter ForceBody to the Execute command. This will force the app arguments into the body even if it's less than 2048 characters.
Make all Set/Export/Push commands force their arguments to the body to ensure nothing gets lost.
Update the unit tests to match that the arguments are now in the body of the message.
Context
When attempting to set special characters(
\r
or\n
in particular) in variables via theexecute-app-arg
they can be stripped out by the ESL header parser. This can cause issues when trying to formatsip_multipart
variables that include multipart headers.Overview
ForceBody
to the Execute command. This will force the app arguments into the body even if it's less than 2048 characters.