Defect #3480
closed
Bot filter plugin crashes when missing useragent
Added by Brad Schick over 16 years ago.
Updated almost 13 years ago.
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
- Assignee changed from Eric Davis to Jean-Philippe Lang
I confirm that bug,
which BTW breaks rake tests.
Assigning to JP Lang since he's the one releasing botsfilter plugin.
Regards.
it's best to not filter requests if user_agent is blank.
See attached patch.
- Category deleted (
Plugin API)
- Status changed from New to Closed
- Assignee deleted (
Jean-Philippe Lang)
Closing this issue: very old + it is about a specific plugin, the current policy is to report issues in the dedicated bug tracker of each plugin.
Also available in: Atom
PDF