[geeklog-devel] [geeklog-cvs] Geeklog-1.x/public_html profiles.php, 1.54, 1.55
Joe Mucchiello
joe at ThrowingDice.com
Thu Feb 21 10:13:11 EST 2008
At 02:30 AM 2/21/2008, Michael Jervis wrote:
> > Why cut the subject off at the first CRLF? When the subject is sent
> > to the browser, they are just whitespace.
>
>It's an email subject not a story subject. Newlines are invalid in the
>subject line of an email.
Ah, yes. So why not replace with spaces so the "subject" of the email
is the subject requested?
$subject = trim(str_replace(array("\r\n","\r","\n"), ' '. $subject));
----
Joe Mucchiello
Throwing Dice Games
http://www.throwingdice.com
More information about the geeklog-devel
mailing list