Bots URL Strings...

2008-03-05 Thread Che Vilnonis
Take the following query string from an error report I recieve: Template: /index.cfm Query String: Mode=ScoresByWeekClassID=http%3A%2F%2Fsahel55.com%2Farticles%2Fomaduro%2Fki mumid%2F When a bot hits the site and passes their spam in the URL, an error is generated and an error page is presented

Re: Bots URL Strings...

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, Che Vilnonis wrote: That said, what do *you* do to fail gracefully but not to receive hundreds of spammy emails every day on your web sites? cfif cgi.query_string contains 'http://' -- Tom Chiverton Helping to adaptively implement scalable partnerships on:

Re: Bots URL Strings...

2008-03-05 Thread Claude Schneegans
That said, what do *you* do to fail gracefully I do not fail gracefully, I counter-attack aggressively ;-) This is my code at the beginning of any template that relies on some numeric url parameter. but it can be easily adapted for any kind of string parameter. !--- Check if id contains a