Go Back   Pligg Forum > Pligg Development > Bug Report
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2006, 07:45 AM
aixelsyd aixelsyd is offline
Casual Pligger
 
Join Date: Oct 2006
Posts: 35
Downloads: 4
Uploads: 0
Thanks: 1
Thanked 6 Times in 4 Posts
Emails have a control character in them

I looked at the headers of a message from pligg by chance and saw this in there.

X-Amavis-Alert: BAD HEADER, Improper use of control character (char 0D hex):
From: webmaster@nothing.no.no\r\n

So my Amavis virus filtering didn't like the \r\n - which I don't believe is needed. I tested it with just the \n and no problems. It still passes but the more stringent mail systems may bounce it.

diff linkadmin.php.original linkadmin.php
117c117
< $headers = 'From: ' . PLIGG_PassEmail_From . "\r\n";
---
> $headers = 'From: ' . PLIGG_PassEmail_From . "\n";

editlink.php, login.php, recommend.php also have this. In recommend.php on line 91 it looks like it was fixed. It was commented out and has a line below with just the \n and no \r.

I looked at the svn from last night - 407 I think?

Aixelsyd
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
tell a friend character bug zearth Bug Report 5 03-28-2008 07:08 PM
unexpected character nish Core Development 1 10-27-2006 11:56 AM
Emails sent from pligg application linkcritic Bug Report 6 10-22-2006 01:37 AM
control M characters in files joewee Bug Report 0 10-20-2006 10:03 PM
Clean Pligg install - Emails not sending Psycho Bug Report 0 06-27-2006 11:23 PM


LinkBacks Enabled by vBSEO 3.0.0