DMXzone Mailer Support Product Page

Doubling curly brackets when inserting $POST variables

Reported 23 Oct 2020 01:12:44
1
has this problem
23 Oct 2020 01:12:44 Steven Irwin posted:
Hi,

Since the DW2021 update I find that when I insert POST variables into a HTML email in server connect that the variables are inserted with double the curly brackets and then the mail parser fails.
If I remove one set of the curly brackets it works fine.
prnt.sc/v4ysow

Regards,

Steve

Replies

Replied 23 Oct 2020 07:21:44
23 Oct 2020 07:21:44 Teodor Kuduschiev replied:
Hi Steven,
We are going to check this and fix it in the next update.
Replied 19 May 2024 05:23:42
19 May 2024 05:23:42 jesi geo replied:
Doubling curly brackets when inserting $POST variables in code is a common practice to prevent unintended parsing or execution. This method ensures that the gout in ankle variables are properly escaped and rendered as plain text, reducing the risk of injection attacks or unexpected behavior. By adhering to this convention, developers can maintain the integrity and security of their applications while handling user input securely.

Reply to this topic