Closed usox closed 6 years ago
Passing a string, which contains at least of 70 period-characters (but not in the first line), to Mime::encodeQuotedPrintable ends in an infinite loop.
This behaviour was introcued by 2b72be3dcb44176572884bc270a42381519abc05.
$line = "test\n".str_repeat('.', 70); $result = \Zend\Mime\Mime::encodeQuotedPrintable( $line ); var_dump($result);
No infinite loop.
Infinite loop.
Hi it exists already a preq #32 that fix this behaviour
Hi, my preq was merged. Can you retry/test this behaviour?
@EugenGanshorn Fix confirmed. It now works as expected. Thanks!
Passing a string, which contains at least of 70 period-characters (but not in the first line), to Mime::encodeQuotedPrintable ends in an infinite loop.
This behaviour was introcued by 2b72be3dcb44176572884bc270a42381519abc05.
Code to reproduce the issue
Expected results
No infinite loop.
Actual results
Infinite loop.