Re: Line breaks in headers are not properly handled

2021-11-15 Thread Thomas Fernandez ML
Hello Stefan, On Mon, 15 Nov 2021 15:23:52 +0200 GMT (15/11/2021, 20:23 +0700 GMT), Stefan Tanurkov via TBBETA wrote: >> I have the feeling it's our ancient Exchange 2010 (!) that's adding those >> spurious line breaks. > Yeah, it looks like the sweet pair of Outlook + Exchange make wonders >

Re[2]: Line breaks in headers are not properly handled

2021-11-15 Thread Adrian
I think the header was fine while sending - when I did it on my own mailserver (postfix/dovecot) everything was fine. Only when I sent through my work's Exchange server the garbage linebreaks got added. But indeed, probably best to strip this type of mess everywhere.. >> FWIW my lorem ipsum test

Re: Line breaks in headers are not properly handled

2021-11-15 Thread Stefan Tanurkov via TBBETA
> FWIW my lorem ipsum test mail was sent from The Bat, so no Outlook involved in > that one ;) Which means we need to sanitize outgoing address headers too :) -- Best regards, Stefan Tanurkov 'Using TBBETA' information:

Re[2]: Line breaks in headers are not properly handled

2021-11-15 Thread Adrian
FWIW my lorem ipsum test mail was sent from The Bat, so no Outlook involved in that one ;) > Yeah, it looks like the sweet pair of Outlook + Exchange make wonders > together :-) It's a rare problem, but I agree we need to sanitize address > fields in a more friendly manner.

Re: Line breaks in headers are not properly handled

2021-11-15 Thread Stefan Tanurkov via TBBETA
Hello Adrian, > Another one (this time a real one, not a test) has this in the header: > To: =?utf-8?Q?Adrian_M=C3=B6nnich?= , > =?utf-8?Q?Jose_XXX=0D=0A_XXX_Lopez?= Thank you! > I have the feeling it's our ancient Exchange 2010 (!) that's adding those > spurious line breaks. Yeah, it

Re[2]: Line breaks in headers are not properly handled

2021-11-15 Thread Adrian
Another one (this time a real one, not a test) has this in the header: To: =?utf-8?Q?Adrian_M=C3=B6nnich?= , =?utf-8?Q?Jose_XXX=0D=0A_XXX_Lopez?= I have the feeling it's our ancient Exchange 2010 (!) that's adding those spurious line breaks. In any case, I don't think preserving them makes

Re: Line breaks in headers are not properly handled

2021-11-15 Thread Stefan Tanurkov via TBBETA
Hello Adrian, > I've attached an email and screenshots on the BT entry. Thanks! From what I see, the name contains special characters (see =0D=0A ) for some reason. Generally, it's not a wise idea to use it in email address fields To:

Re: Line breaks in headers are not properly handled

2021-11-15 Thread Thomas Fernandez ML
Hello Stefan, On Mon, 15 Nov 2021 13:04:35 +0200 GMT (15/11/2021, 18:04 +0700 GMT), Stefan Tanurkov via TBBETA wrote: > Hello Adrian, >> sorry for posting where it probably doesn't belong, but this annoying bug is >> affecting me nearly daily due to some rather long names at work, and it seems

Re[2]: Line breaks in headers are not properly handled

2021-11-15 Thread Adrian
Hi, I've attached an email and screenshots on the BT entry. Cheers Adrian > Hello Adrian, >> sorry for posting where it probably doesn't belong, but this annoying bug is >> affecting me nearly daily due to some rather long names at work, and it seems >> like nobody is reading the bug

Re: Line breaks in headers are not properly handled

2021-11-15 Thread Stefan Tanurkov via TBBETA
Hello Adrian, > sorry for posting where it probably doesn't belong, but this annoying bug is > affecting me nearly daily due to some rather long names at work, and it seems > like nobody is reading the bug tracker... Thank you for reporting the problem! However, we need some material to work

Re: Line breaks in headers are not properly handled

2021-11-15 Thread Thomas Fernandez ML
Hello Adrian, On Mon, 15 Nov 2021 11:24:30 +0100 GMT (15/11/2021, 17:24 +0700 GMT), Adrian wrote: > sorry for posting where it probably doesn't belong, but this annoying bug is > affecting me nearly daily due to some rather long names at work, and it seems > like nobody is reading the bug

Line breaks in headers are not properly handled

2021-11-15 Thread Adrian
Hi, sorry for posting where it probably doesn't belong, but this annoying bug is affecting me nearly daily due to some rather long names at work, and it seems like nobody is reading the bug tracker... https://bt.ritlabs.com/view.php?id=2115 I received an email with a To header like this (same