WebUI doesn't remove newlines from subject

When creating tickets in the WebUI, trailing newlines don’t get chomped
off the subject line. (Entering a newline happens easily when you’re
copy-and-pasting from a text file.)

In the mail sent by RT, this newline then somehow ends up after the
headers generated by RT itself, but before the headers generated by my
templates, so the receiving MUA treats them as part of the body (except
for Outlook[TM], which turns the whole message into an attachment and
displays some rubbish about the message containing invalid characters).

This is with RT 2.0.13 - has this been fixed in a newer release?
If not, can someone reproduce this problem?

Sebastian

Sebastian Flothow
sebastian@flothow.de
#include <stddisclaimer.h>