bbottema / outlook-message-parser

A Java parser for Outlook messages (.msg files)
76 stars 35 forks source link

Bugfix: Escape regex specific characters in cid when fetching true attachments #30

Closed KacperFKorban closed 4 years ago

KacperFKorban commented 4 years ago

Parsing msg with attachment named Attachment[1.pdf and trying fetchTrueAttachments() throws an exception, because cid:['\"]Attachment[1.pdf['\"] is not a valid regex.