Actions
Bug #26151
openUTF-8 chars are HTML escaped when used in policy variables
Status:
Pending technical review
Priority:
N/A
Assignee:
Category:
rudderc
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
If a user define a policy variable containing UTF-8 chars, the Rudder.Datastate will keep it in well encoded, but the templating used to render the variable as string does escape the
non-ascii values.
A possible easy fix could be to use the non-documented "do not escape" feature from the Nustache library, as described in https://github.com/jdiamond/Nustache/blob/9d7d84ed0ec73996683663521dbc133f5c7a680a/Nustache.Core/VariableReference.cs#L29
Actions