Author: lunasantin
Description:
Vandals have recently been making use of software which produces a "bitmap" using very large tables with colored cell backgrounds. When asked about a wpSpamRegex entry to stop these, Platonides and myself each proposed a regex:
/<TR>(<TD BGCOLOR=["']?#......["']?>\.+<\/TD>){20,}<\/TR>/i
/<table>.+?(<td bgcolor.+?){400,}.+?<\/table>/i
Discussion seemed to favor the top one, but I'm listing both here for completeness.
The first option blocks any image table with over 20 cells in one row (effectively limiting the horizontal resolution), and will match only tables filled with periods ("..." etc). The second option blocks any such table with over 400 cells total (20x20 resolution), without paying attention to text. The current image tables we're trying to prevent are typically 85x9 in size or more, but obviously any match too narrow is easily avoided.
Brion suggested we should file a bug, so here we are.
Version: unspecified
Severity: enhancement