[OSM-talk] Spam in the diaries

Tom Hughes tom at compton.nu
Thu Jan 14 18:26:21 GMT 2010


On 14/01/10 17:58, Lars Francke wrote:

> What I'm wondering is why there are no rel="nofollow" attributes on
> the links. The last time diary spam was reported it was implemented
> for all user-provided content and as far as I can see it is still in
> the code. Perhaps something about the order of sanitize and linkify?
> But I really have no good idea.

Because those links came from the user - ie they entered <a> tags 
directly. It's only links that we generate (by spotting URLs in the 
text) that get the rel=nofollow treatment.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the talk mailing list