Hello,

I was able to find another problematic email, that is displayed correctly on the history page, but that generates an error when viewing the htmlized quarantine. I'm attaching the user folder with just that email. ($USER.log and $USER.mbox)

Carlo

On 06/10/2011 07:52 PM, Carlo Rodrigues wrote:
Sorry, I had just changed $CONFIG{'QUARANTINE_HTMLIZE'} to 'no' and emptied the 
quarantine mboxes before I read your post.

But I can tell you the problem was NOT on the patch you applied to htmlize.pl, 
because I reverted to previous htmlize.pl (version 1.01? Header mentions 
dspam.cgi) and the apache errors were the same.

So this error was already triggered by the 'stock' htmlize.pl.

I'll leave the htmlize function on the quarantine, and, the next time I get an 
error, I'll post the respective lines.

Thanks for the support.

Carlo

On Jun 10, 2011, at 19:41 , Stevan Bajić wrote:

On Fri, 10 Jun 2011 19:34:10 +0100
Carlo Rodrigues<c...@net4b.pt>  wrote:

On Jun 10, 2011, at 13:33 , Stevan Bajić wrote:

On Thu, 09 Jun 2011 12:55:57 +0100
Carlo Rodrigues<c...@net4b.pt>  wrote:

Hey Stevan,

Hello Carlo,

okay. I understand. Can you check the attached patch? Does that one solve your 
issue?
You would need the following Perl modules to get the full functionallity of the 
patch:
- Encode
- HTML::Entities

It's just a quick and dirty shoot and I have not tested the code at all. But I 
think it should be fine. Let me know if that one solves your issue or not?
After applying that patch, I stopped being able to view the quarantines. Apache 
displays an error 500 and I get these entries on error_log:

Wide character in subroutine entry at 
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 173,<FILE>  
line 52293.

What is on line 52293 in your quarantine mbox file? Can you post that here?


On another user's quarantine:

Cannot decode string with wide characters at 
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode.pm line 173,<FILE>  
line 35.

The same here. What is on line 35 of that users quarantine mbox file?

If it does then I am going to oblige you to send a patch for the DSPAM 
documentation where the two additional Perl modules are mentioned. Would that 
be okay with you?


No problem about that ;)

Cheers,

Carlo
--
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Attachment: faulty_quarantine.tar.gz
Description: application/gzip

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to