Actions
Bug #26151
closedUTF-8 chars are HTML escaped when used in policy variables
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
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
Updated by Félix DALLIDET 3 months ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET 3 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder/pull/6118
Updated by Vincent MEMBRÉ 3 months ago
- Target version changed from 8.2.4 to 8.2.5
Updated by Félix DALLIDET 2 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|8a163776b01ea73dbf7acf352649e15db1bc6493.
Updated by Félix DALLIDET about 1 month ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ about 1 month ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.2.5 which was released today.
Actions