cb_comment_reject drop comment?

"Tung Wai Yip" <tungwaiyip-/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
I am trying to roll a comment spam checker. There is a method  
cb_comment_reject to use. However it can only return 0 or 1. If it is 1,  
the submission is dropped silently. I find this too harsh for read  
commenter who might failed the test by mistake. Is there anyway send him  
back to a form with his last input prefilled for a second chance?

In anycase I got attack from someone trying to inject SMTP command into  
the comment. I'm trying to use a simple scheme to filter for things like  
'\ncontent-type:' but then I don't want to hit legit comment by mistake.

Wai Yip


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.