Cortex icon indicating copy to clipboard operation
Cortex copied to clipboard

Manage input filename with special characters

Open jeromeleonard opened this issue 3 years ago • 1 comments

Request Type

Improvement

Problem Description

Example: If the EML message contains an attachement with file name contains "?" character, EmlParser not working

Related issue reported in Cortex-Analyzers: https://github.com/TheHive-Project/Cortex-Analyzers/issues/1028

jeromeleonard avatar Feb 10 '22 07:02 jeromeleonard

I can add that brackets also seem to trigger this

example thats been redacted: [Redacted1][Redacted2] Redacted3 Redacted4 Redacted5 Redacted66 13-05-2025.pdf

Full error

Report creation failure: [Invalid format for artifact.attachment: FileInputValue([Redacted1][Redacted2] Redacted3 Redacted4 Redacted5 Redacted66 13-05-2025.pdf,/tmp/cortex-jobs/cortex-job-9V7a7ZYBC4Vo-qHMV92U-183881282021869073/output/tmp1a0ak03k,application/octet-stream), expected attachment]

ch0wm3in avatar May 20 '25 13:05 ch0wm3in