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

Home » FUDforum Development » Bug Reports » NNTP Issue
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: NNTP Issue [message #160813 is a reply to message #160811] Sun, 25 October 2009 06:43 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Here is a patch for you to evaluate and test:

Index: nntp.inc
===================================================================
RCS file: /forum21/install/forum_data/include/nntp.inc,v
retrieving revision 1.85
diff -u -a -r1.85 nntp.inc
--- nntp.inc    17 Sep 2009 19:52:53 -0000      1.85
+++ nntp.inc    25 Oct 2009 06:42:41 -0000
@@ -390,7 +390,9 @@
                                   }
                           }

-                          $eom = strpos($this->body, $this->boundary, $s);
+                          if( ($eom = strpos($this->body, $this->boundary, $s)) === FALSE) {
+                               $eom = strlen($this->body);
+                          }
                           if ($have_text_body) {
                                   $text_body = substr($this->body, $s, $eom-$s);
                                   $s=$eom;
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What is Pri: ?
Next Topic: cut subject import nntp
Goto Forum:
  

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

Current Time: Fri Nov 22 22:48:27 GMT 2024

Total time taken to generate the page: 0.06592 seconds