[BUG]Celeste: Endless loop in #tokensIn: with special characters

Joern Eyrich squeak-dev at lists.squeakfoundation.org
Mon Sep 16 18:38:04 UTC 2002


=?iso-8859-1?Q?J=F6rn?=

Lex Spoon wrote:
> 
> Bernhard Pieber <bernhard at pieber.com> wrote:
> > Sigh. As usual I outsmarted myself. Try the following statement to
> > really get the endless loop.
> >
> > MailAddressTokenizer tokensIn: 'B' , 154 asCharacter asString , 'rnhard
> > Pieber <bernhard at pieber.com>'
> 
> [...]
> 
> This raises the question of what to do about illegal characters.  It
> seems questionable to handle them, because they may get dumped on the
> wire and passed on to other software that will break.  Does anyone know
> the mail RFC's well enough to say what should be done in this case?  For
> example, if you get mail from someone with a malformed address?  I don't
> have time to dig through it in the near future.

I seem to remember that the first name in my "From:" header used to look funny in some mail archives when I used the original non-ASCII character. It looked like this: =?iso-8859-1?Q?J=F6rn?=

Googleing for "site:ietf.org =?iso-8859-1?Q?" leads us to RFC 1342, which describes this encoding.

Joern



More information about the Squeak-dev mailing list