Browse Source
[FIX] sentry: Fix SanitizeOdooCookiesProcessor after raven 6.4.0
pull/1023/head
Naglis Jonaitis
7 years ago
No known key found for this signature in database
GPG Key ID: 4748835F585390F5
1 changed files with
4 additions and
1 deletions
-
sentry/logutils.py
|
|
@ -101,6 +101,9 @@ class SanitizeOdooCookiesProcessor(SanitizePasswordsProcessor): |
|
|
|
Allows to sanitize sensitive Odoo cookies, namely the "session_id" cookie. |
|
|
|
''' |
|
|
|
|
|
|
|
FIELDS = frozenset([ |
|
|
|
# `FIELDS` was renamed to `KEYS` in raven 6.4.0. |
|
|
|
# Keep `FIELDS` for backwards compatibility. |
|
|
|
# See also issue #1096 on OCA/server-tools. |
|
|
|
KEYS = FIELDS = frozenset([ |
|
|
|
'session_id', |
|
|
|
]) |