FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Wrong Subject: format and ERR_systemerr
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Wrong Subject: format and ERR_systemerr [message #18183] Wed, 12 May 2004 21:55 Go to next message
scyld is currently offline  scyld   Poland
Messages: 13
Registered: May 2004
Karma: 0
Junior Member
1. when notification is send via e-mail the subject: field is wrongly encoded, ie.:
Subject: =?ISO-8859-2?B?Tm93YSB3aWFkb21vtuYgdyB3sXRrdSBPZHA6IFBvbHNraWUgdLN1bWFjemVuaWUgdXR3b3J6b25h
  IHByemV6IHW/eXRrb3duaWthIEFub25pbQ==?=

That is 2 lines. In case of multiple line subject it should be (example):
Subject: =?ISO-8859-2?B?sdkfhjgsjdfhghskdjfhg==?=
<tab>=?ISO-8859-2?B?sdfkjgshdfkjghsdfg==?=
<tab>and so on...


2. in such notification, when body of post is included, the "Quote" link (http://forum_url/index.php/r/reply_to/10///&quote=true) results in ERR_systemerr.
Also when post author is anonymous the author field in notification is empty (maybe not a bug Wink).

Cheers,


Scyld de Fraud
Re: Wrong Subject: format and ERR_systemerr [message #18185 is a reply to message #18183] Wed, 12 May 2004 22:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
1) All the e-mail clients I've tried can display this correctly. When I began splitting the header into multiple lines some mail clients began having parsing problems.

2) Anon user was a bug and is now fixed to show the anon user handle as specified in the FUDforum's config. The links were also fixed.

The relevant patches are:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=2749
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=2750


FUDforum Core Developer
Odp: Re: Wrong Subject: format and ERR_systemerr [message #18186 is a reply to message #18185] Wed, 12 May 2004 22:23 Go to previous messageGo to next message
scyld is currently offline  scyld   Poland
Messages: 13
Registered: May 2004
Karma: 0
Junior Member
Ilia napisał(a) dnia czw, 13 maj 2004 12:09

1) All the e-mail clients I've tried can display this correctly. When I began splitting the header into multiple lines some mail clients began having parsing problems.

FUDforum 2.6.3RC3 _is_ sending multiple line subject, and this will be correctly parsed by MUAs if the header is in right format:
Cytuj:

line1: Subject: =?charset?B?...==?=
line2: <tab character>=?charset?B?...==?=
...



I've tested this with Mozilla Mail and mutt.


Scyld de Fraud
Re: Odp: Re: Wrong Subject: format and ERR_systemerr [message #18188 is a reply to message #18186] Wed, 12 May 2004 22:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmm you're right it didn't work from some mailers.
This patch should take care of the problem.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=2751


FUDforum Core Developer
Odp: Re: Odp: Re: Wrong Subject: format and ERR_systemerr [message #18190 is a reply to message #18188] Wed, 12 May 2004 23:29 Go to previous messageGo to next message
scyld is currently offline  scyld   Poland
Messages: 13
Registered: May 2004
Karma: 0
Junior Member
Hmm... better with mutt, Mozilla doesn't like this (uppss).
I've removed chunk_split() and this line:
$text = str_replace("\r\n", "\r\n ", $text);
_after_ undoing your patch and now works fine.


Scyld de Fraud
Re: Odp: Re: Odp: Re: Wrong Subject: format and ERR_systemerr [message #18195 is a reply to message #18190] Thu, 13 May 2004 01:07 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Thunderbird is being rather quircky :/ a fix is in.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Post Notification Email got screwed up - from this forum.
Next Topic: Email confirmation page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Jun 29 10:27:19 GMT 2024

Total time taken to generate the page: 0.02833 seconds