Project

General

Profile

Actions

Defect #3480

closed

Bot filter plugin crashes when missing useragent

Added by Brad Schick over 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-06-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Using the BotsFilterPlugin, I noticed exceptions when there was no useragent in a request. I applied the following patch to fix this. Note that this patch blocks requests with missing useragents as if they were bots.


Files

bot_filter.patch (460 Bytes) bot_filter.patch Test for nil useragent Brad Schick, 2009-06-11 08:50
allow_empty_user_agent.patch (477 Bytes) allow_empty_user_agent.patch Jérémy Lal, 2010-06-18 00:36
Actions

Also available in: Atom PDF