You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While parsing message body it can happen (happened to me :) that the (parsed) section subtype is empty, resulting in a bad (uncatchable) error in the following lines (all the
$objNew->$subtype
calls are bound to fail badly).
A first workaround would be at least check for empty $subtype, and exclude the whole following section if is actually empty
(I have the fixed branch in my local system, I'll try to push + pull request in a few hours).
The text was updated successfully, but these errors were encountered:
Bug
See here:
php-imap-client/ImapClient/IncomingMessage.php
Line 365 in a897a58
While parsing message body it can happen (happened to me :) that the (parsed) section subtype is empty, resulting in a bad (uncatchable) error in the following lines (all the
$objNew->$subtype
calls are bound to fail badly).
A first workaround would be at least check for empty $subtype, and exclude the whole following section if is actually empty
(I have the fixed branch in my local system, I'll try to push + pull request in a few hours).
The text was updated successfully, but these errors were encountered: