php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

Failing test: Attachment with symbols in filename

Open nuernbergerA opened this issue 2 years ago • 3 comments

Hey its me again with an attachment name issue.

If added a failing test, happy fixing.

greetings Adrian

nuernbergerA avatar Sep 14 '23 11:09 nuernbergerA

There was 1 failure:

1) Tests\issues\Issue410Test::testIssueEmailSymbols
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'Checkliste 10.,DAVIDGASSE 76-80;2;2.pdf'
+'Checkliste 10.,DAVIDGASSE 76-80'

/home/runner/work/php-imap/php-imap/tests/issues/Issue410Test.php:62

nuernbergerA avatar Sep 14 '23 11:09 nuernbergerA

Hi @nuernbergerA , many thanks for your pull request and bug report. Please try to add name and filename to the list of excluded attributes in https://github.com/Webklex/php-imap/blob/master/src/Header.php#L615 and see if this solves the issue.

Webklex avatar Sep 14 '23 13:09 Webklex

@Webklex nope still the same

nuernbergerA avatar Sep 14 '23 14:09 nuernbergerA