Blogging Roller

Dave Johnson on open web technologies, social software and software development

Ignoring referers

Roller 0.9.6's referer tracker already ignored hits from pages in the same weblog, now <a href= "http://brainopolis.dnsalias.com/roller/page/lance/">Lance has added an ignoreHosts option so that a Roller admin can configure Roller to ignore hits from different hosts. That is cool, but I want a little mre control over what should be ignored. For example, I got hits today from file://<some file path>/penis.htm today. Ouch!

I think the Roller referer tracker needs a both ignoreStartsWith and ignoreContaining parameters (each being a list). You could use ignoreStartsWith to ignore hits from your own host, other hosts, and from protocols such as file: or mailto:. You could use ignoreContaining to ignore hits coming in from URLs containing certain keywords.

Searching on ignoring referers I found an interesting post from Mark Pilgrim about <a href= "http://diveintomark.org/archives/2002/03/04.html#full_disclosure">an old Manila bug and the importance of properly escaping HTML displayed from referers. I think I need to address this issue in both the Roller Editor UI and macros.showReferers().
Dave Johnson in Roller • 🕒 07:23AM Oct 26, 2002
Tags: Roller
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed