NNTP Sync minor quirks [message #159768] |
Mon, 22 June 2009 01:46 |
jcarter
Messages: 25 Registered: August 2006
Karma: 0
|
Junior Member |
|
|
I recently upgraded to the latest version and have found several minor issues:
Version: 2.8.1
File: FUDForumData/include/nntp.inc
Around line 425:
if ( !strlen($msg_post->subject) ) {
The problem is that $msg_post->subject can be null which halts the script. I replaced it with:
if ( ($msg_post->subject == null) || !strlen($msg_post->subject) ) {
---------------------------------
Around line 455:
iconv_mime_encode("Subject:", $subject,
The problem is that the iconv_mime_encode function expects a keyword, and adds the colon, resulting in double colons and mangled subject thread titles. I changed it to :
iconv_mime_encode("Subject", $subject,
------------------------------------------
I posted these to {patches}.
|
|
|
|