Skip to content

Fix #72964: White space not unfolded for CC/Bcc headers - #6420

Closed
cmb69 wants to merge 1 commit into
php:PHP-7.4from
cmb69:cmb/72964
Closed

cmb69 wants to merge 1 commit into
php:PHP-7.4from
cmb69:cmb/72964

Conversation

@cmb69

@cmb69 cmb69 commented Nov 10, 2020

Copy link
Copy Markdown
Member

\r\n does only terminate a header, if not followed by \t or .
We have to cater to that when determining the end position of the
respective headers.

`\r\n` does only terminate a header, if not followed by `\t` or ` `.
We have to cater to that when determining the end position of the
respective headers.
@cmb69 cmb69 added the Bug label Nov 10, 2020
@Girgias

Girgias commented Nov 10, 2020

Copy link
Copy Markdown
Member

Does that only affect the base mail function or also IMAP?

@cmb69

cmb69 commented Nov 10, 2020

Copy link
Copy Markdown
Member Author

That patch should affect both functions (regarding the $additional_headers) for SMTP sending (sendmail is not affected).

@cmb69

cmb69 commented Nov 17, 2020

Copy link
Copy Markdown
Member Author

Any objections to merge this?

@php-pulls php-pulls closed this in 881e43a Nov 19, 2020
@cmb69
cmb69 deleted the cmb/72964 branch November 19, 2020 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants