[pmwiki-devel] Blocking postings - blank

Simon s-i-m-o-n at paradise.net.nz
Thu Dec 28 17:36:19 CST 2006


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?

thanks

Simon





More information about the pmwiki-devel mailing list