Project

General

Profile

Actions

Bug #4381

closed

Special characters (ie, accents such as éèùô) are replaced by "?" in CFEngine promises

Added by Jonathan CLARKE almost 11 years ago. Updated over 10 years ago.

Status:
Released
Priority:
3
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If special characters (such as accents, like é) are entered into a Directive variable, the special characters are replaced by "?".

I entered "Ceci est un mot accentué (héhéhé !)", after making sure my browser was in UTF-8. This came out in promises as "Ceci est un mot accentu? (h?h?h? !)"

I checked LDAP content and it has the right accents:

directiveVariable:: R0VORVJJQ19GSUxFX0NPTlRFTlRfUEFZTE9BRFswXTpDZWNpIGVzdCB1bi
 Btb3QgYWNjZW50dcOpIChow6low6low6kgISk=

# echo "R0VORVJJQ19GSUxFX0NPTlRFTlRfUEFZTE9BRFswXTpDZWNpIGVzdCB1bi
>  Btb3QgYWNjZW50dcOpIChow6low6low6kgISk=" | openssl base64 -d
GENERIC_FILE_CONTENT_PAYLOAD[0]:Ceci est un mot accentué (héhéhé !)

I saw this on 2.9.2 but I'm assuming it also happens since older versions.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4393: The default disclaimer message loaded initially into LDAP has an invalid charachter in itReleasedFrançois ARMAND2014-01-17Actions
Actions

Also available in: Atom PDF