[pmwiki-devel] Blocking postings - blank

Patrick R. Michaud pmichaud at pobox.com
Fri Dec 29 09:40:11 CST 2006


On Fri, Dec 29, 2006 at 12:36:19PM +1300, Simon wrote:
> Pm suggested adding to the Blocklist
> block: /^\s*$/
> to stop spammers replacing entire pages with an empty or spaces only page.
> 
> It has the interesting side effect of displaying the message
> Text blocked from posting: /^\s*$/
> at the top of the text area after the edit link is clicked when the page
> is displayed,
> and before the save button is clicked.
> 
> see for example
> http://ttc.org.nz/pmwiki/pmwiki.php/GuestBook/HomePage?action=edit
> 
> In fact the page saves OK if it has text in it despite the message.
> 
> Would it be possible to have this fixed?

Sure -- that's definitely a bug.  I'll fix it in the next beta
release.

Thanks!

Pm



More information about the pmwiki-devel mailing list