[imp] Headers decoding

Han Spruyt han.spruyt at ijsselgroep.nl
Wed Oct 17 20:48:48 UTC 2007


An encoded string in a From: header like this:

From: =?iso-8859-1?Q?T=EBst 1=2C Student?= <student at domain.com>

is parsed like Tëst 1, Student <student at domain.com>

So, the display name is not between quotes. It is fed like this in the  
address processing causing headaches of course because of the comma  
being an address separator.

Searching the internet I found several statements that the  
encoding(whithout quotes) is RFC compliant, but not being an RFC  
expert at all.....

Did I hit a bug in IMP/Horde here or does Exchange spin sending this?

Br,

Han Spruyt.








More information about the imp mailing list