Cortex
Cortex copied to clipboard
Manage input filename with special characters
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
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]