Architecture #24565
closed
relayd fail on reports containing non utf-8 characters
Added by Alexis Mousset 8 months ago.
Updated 8 months ago.
Category:
Relay server or API
Description
If a reports file contains non UTF-8 characters, relayd will fail to parse it with:
rudder_relayd::processing::reporting: output error: invalid utf-8 sequence of 1 bytes from index 312480
To reproduce:
echo "€" > file
iconv -t WINDOWS-1252 -f UTF-8 -o broken file
and for example cat the content of broken
in a command execution method
- Target version changed from Ideas (not version specific) to 8.0.7
- Status changed from New to In progress
- Assignee set to Alexis Mousset
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder/pull/5511
- Status changed from Pending technical review to Pending release
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.0.7 which was released today.
Also available in: Atom
PDF