6.0.0-git
2019-07-21

[#1766] Notice: Array to string conversion in /www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75
Summary Notice: Array to string conversion in /www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75
Queue IMP
Queue Version 4.0.3
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester luc.germain (at) usherbrooke (dot) ca
Created 2005-04-12 (5213 days ago)
Due
Updated 2005-04-14 (5211 days ago)
Assigned 2005-04-14 (5211 days ago)
Resolved 2005-04-14 (5211 days ago)
Milestone
Patch No

History
2005-04-14 06:02:15 Michael Slusarz Comment #4
State ⇒ Resolved
Reply to this comment
The messages you are receiving are broken.  RFC 2369 [3] explicity 
states for List-* Headers: "There MUST be no more than one of each 
field present in any given message."  Errors-to is a non-standard 
header (see RFC 2076), but would not be causing the error you report 
(this error is only triggered by list headers).



I'll go ahead and add a check in MIME_Headers::getValue() to 
explicitly prevent this from happening in the future.
2005-04-14 00:31:16 Jan Schneider State ⇒ Feedback
 
2005-04-14 00:31:02 Jan Schneider Comment #3 Reply to this comment
I remember this too. What Horde version are you using?
2005-04-13 17:49:15 Chuck Hagenbuch Comment #2
Assigned to Michael Slusarz
State ⇒ Assigned
Reply to this comment
I have a feeling this was fixed at some point, but I can't find the 
fix or a ticket...
2005-04-12 16:40:10 luc (dot) germain (at) usherbrooke (dot) ca Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Notice: Array to string conversion in /www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75
Queue ⇒ IMP
Reply to this comment
I see this notice when opening some email messages in IMP H3 4.0.3 
(and previous too):



Notice: Array to string conversion in 
/www/webapps/htdocs/monbureau-v3/imp/lib/MIME/Headers.php on line 75



I tracked down the problem to messages having multiple copies of the 
same headers like "Errors-to:" or Lists headers like "List-Owner:" 
etc. (This happens for example when a list address is a member of 
another list, so the mail passes through two lists and have the 
headers of each list).



Displaying all headers show a lot of theses "Notice:"  messages but 
all copies of headers are shown correctly (preceded by list bullets). 
When showing list info headers, "Notice" messages also show, and 
headers with multiple entries simply show as "Array".



Not a big deal since it's a pretty rare situation, but maybe it is 
simple to solve?



Thanks.



Luc.

Saved Queries