ext_58972: Mad! (Default)
Charlie Stross ([identity profile] autopope.livejournal.com) wrote in [personal profile] dtm 2009-03-11 01:23 pm (UTC)

Re: gstats code getting sneakier

As a point of note, "cn" as a word suffix (regexp search: cn$) doesn't appear at all in /usr/share/dict/words on this here unix system.

So some sort of check for /cn["\/]*/ or something like that ought to weed out everything in the .cn TLD.

This isn't much use if you want to link to legitimate Chinese sites, but realistically it ought to be a hot-button for auto-moderation of blog comments and similar.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting