rpkamp/mailhog-client

Extra quotes in attachment filename

voda opened this issue · 0 comments

voda commented

Hi,
I discovered an issue with attachment when the filename is quoted: the quotes are not removed from the name.
I am writing tests using mailhog-behat-extension, have an email (full .eml attached) with Content-Disposition: attachment; filename="testFile.txt" and this step:

I should see an attachment with filename "testFile.txt" in the opened email

It is trying to compare testFile.txt with "testFile.txt", which fails.

I tested MailHog and Thunderbird and both show/download the name correctly.

attachment.eml.txt