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

squeak-dev at lists.squeakfoundation.org squeak-dev at lists.squeakfoundation.org
Sun Sep 15 15:23:20 UTC 2002


Well, I can't help you, I never really learned the rules for headers
very well, too much of a mess. Just tried to get them out of my way.

Good luck.

Daniel Vainsencher

Bernhard Pieber <bernhard at pieber.com> wrote:
> Hi all,
> 
> I found a bug in MailAddressTokenizer. If you do the following with an
> e-mail-address that contains a special character you get an endless
> loop:
> 
> MailAddressTokenizer tokensIn: 'Bsrnhard Pieber <bernhard at pieber.com>'
> 
> (Alt/Cmd-. works as an emergency exit.)
> 
> This is called from Celeste when you send a message and you have a user
> name which has special characters. (German Umlaut in my test.)
> 
> I am not sure what the correct fix is, i.e. which class should be
> responsible for catching that, MailAddressTokenizer or Celeste? Celeste
> does already ISO-encode the user name. I skimmed over RFC822 and read
> RFC2047 and it seems to me that the first part of the user name should
> also be MIME-encoded. That means that it has to be parsed first. Perhaps
> the easiest solution would to split the user name into real name and
> e-mail-address and let Celeste MIME-encode just the real name.
> 
> What do you think? Suggestions from IETF standards gurus are highly
> welcome. ;-)
> 
> Bernhard Pieber



More information about the Squeak-dev mailing list