I just got a case where a line as follows: [LIST (\HasNoChildren) "/" {54} caused the while loop to run indefinitely.
I suspect ist this space character appended, which will cause the while (($pos = strpos($line, ' ')) !== false) { to run indefinitely? Not a nice thing to happen ^^ .
Im guessing {54} is a prefix to say that the next 54 Characters could contain special chars: (in my case Aufgaben/to dos/Landingpage "meine Immobilie im Alter". It probably meant the quotes.
I just got a case where a line as follows:
[LIST (\HasNoChildren) "/" {54}
caused the while loop to run indefinitely.I suspect ist this space character appended, which will cause the
while (($pos = strpos($line, ' ')) !== false) {
to run indefinitely? Not a nice thing to happen ^^ .https://github.com/zendframework/zend-mail/blob/ece418b37aaf8a98c991d7f0c198408043a2172d/src/Protocol/Imap.php#L217
Im guessing
{54}
is a prefix to say that the next 54 Characters could contain special chars: (in my caseAufgaben/to dos/Landingpage "meine Immobilie im Alter"
. It probably meant the quotes.It seams to work when I remove the space on L217.