Project

General

Profile

Actions

Architecture #24565

closed

relayd fail on reports containing non utf-8 characters

Added by Alexis Mousset 9 months ago. Updated 9 months ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
No

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

Actions #1

Updated by Alexis Mousset 9 months ago

  • Target version changed from Ideas (not version specific) to 8.0.7
Actions #2

Updated by Alexis Mousset 9 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #3

Updated by Alexis Mousset 9 months ago

  • 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
Actions #4

Updated by Alexis Mousset 9 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ 9 months ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ 9 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.0.7 which was released today.

Actions

Also available in: Atom PDF