[DRE-maint] Bug#584431: redmine-plugin-botsfilter: if user-agent isn't set, bots filter results in a 500

Micah Anderson micah at debian.org
Thu Jun 3 15:06:02 UTC 2010


Package: redmine-plugin-botsfilter
Severity: normal

If there is no user-agent specified, the botsfilter plugin causes a 500 internal server error:

labs.riseup.net:443 127.0.0.1 - - [03/Jun/2010:07:51:47 -0700] "GET /code/issues/show/2400 HTTP/1.1" 500 14738 "-" "-"

NoMethodError (undefined method `match' for nil:NilClass):
                  /vendor/plugins/redmine_bots_filter/lib/bots_filter.rb:44:in
                  `bot_request?'


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash






More information about the Pkg-ruby-extras-maintainers mailing list