« Roller 0.9.6 status. | Main | Does it get more... »

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().
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

« Roller 0.9.6 status. | Main | Does it get more... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Roller, some may be related to this entry.