Skip to content

Fix #63839: iconv_mime_decode_headers function is skipping headers#3440

Closed
cmb69 wants to merge 1 commit intophp:PHP-7.1from
cmb69:fix-63839
Closed

Fix #63839: iconv_mime_decode_headers function is skipping headers#3440
cmb69 wants to merge 1 commit intophp:PHP-7.1from
cmb69:fix-63839

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Aug 12, 2018

We have to cater to the possibility that =? is not the start of an
encoded-word, but rather a literal =?. If a line break is found
while we're still looking for the charset, we can safely assume that
it's a literal =?, and act accordingly.

We have to cater to the possibility that `=?` is not the start of an
encoded-word, but rather a literal `=?`.  If a line break is found
while we're still looking for the charset, we can safely assume that
it's a literal `=?`, and act accordingly.
@cmb69
Copy link
Member Author

cmb69 commented Aug 22, 2018

Unless there are objections, I'll apply this patch on the weekend.

@php-pulls
Copy link

Comment on behalf of cmb at php.net:

Applied via 8754d44.

@php-pulls php-pulls closed this Aug 25, 2018
@cmb69 cmb69 deleted the fix-63839 branch August 25, 2018 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants