Project

General

Profile

Actions

Bug #26151

open

UTF-8 chars are HTML escaped when used in policy variables

Added by Félix DALLIDET 14 days ago. Updated 12 days ago.

Status:
Pending technical review
Priority:
N/A
Category:
rudderc
Target version:
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

Also available in: Atom PDF