TIdMessage.GenerateHeader Bug

Giganews Newsgroups
Subject: TIdMessage.GenerateHeader Bug
Posted by:  Andrew St. (as@no.spam.yahoo.com)
Date: Tue, 15 Jun 2004

Hi,

TIdMessage.GenerateHeader seems to have a bug: Every time I call
TidMessage.SaveToStream, a charset-entry is added to the header although
there is already one --> the Message gets larger and larger.

Example:

...
Content-Type: text/plain;
    charset="ISO-8859-1";
    charset="ISO-8859-1";

  charset="ISO-8859-1";
    charset="ISO-8859-1";
    charset="ISO-8859-1";

  charset="ISO-8859-1";
....

Could somebody of the Indy-Core team fix this?

Regards, Andrew St.

Replies