New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Invalid header name detected" (From XXX) on upgrades #427
Comments
installed Xdebug and got this:
|
I suggest this fix to be applied to src/Mail/Helper/MailLoader.php: |
|
the patch that fails is from #352 and it's errors can be ignored (as the log says) |
Hi @glensc, |
update from btw, |
Email viewer (view_email.php) fails with an exception "Invalid header name detected" if a stored raw email starts with a Mbox line "From name@example.com .." which is not a correct mail header.
Hi @glensc, I have created a pull request. Eventum tests/data already has a test email for the case. I hope I made the request correctly. Thanks! |
fixed via #439 |
Hi,
I have "Invalid header name detected" issue on 'php bin/upgrade' running and in browser viewing older issues e.g. http://eventumtest01.test.com/view_email.php?ema_id=20&id=236398
I saw #155 issue, but the fix does not solve the trouble on upgrades or views.
Eventum v3.1.10 - php bin/upgrade:
The same on upgrade run from 3.2.0 to 3.5.4:
Then it fails in browser (shows empty page) and eventum.log gets:
The emails in the database are from Eventum 2.3.6, fetched from IMAP server. I am testing upgrade from 2.3.6 to 3.5.4.
One option is to ignore src/Header/GenericHeader.php exceptions, but the impact of this hack is not clear. Also it is not obvious if I shall run bin/upgrade again.
The text was updated successfully, but these errors were encountered: