mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
more flexible regex to block empty JS Logster errors
This commit is contained in:
parent
77ae0b4f7f
commit
18215f90d0
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if Rails.env.production?
|
|||
# Column: 0
|
||||
# Window Location: http://discourse.codinghorror.com/t/the-god-login/2924/19
|
||||
#
|
||||
/^Script error.\nUrl: \nLine: 0?\n/,
|
||||
/(?m)\AScript error\..*?Line: 0.*?Column: 0/,
|
||||
|
||||
# suppress trackback spam bots
|
||||
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }),
|
||||
|
|
Loading…
Reference in a new issue