Project

General

Profile

Actions

Architecture #24565

closed

relayd fail on reports containing non utf-8 characters

Added by Alexis Mousset about 2 months ago. Updated about 1 month 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

Also available in: Atom PDF