Browse Source

[FIX] sentry: Fix SanitizeOdooCookiesProcessor after raven 6.4.0

pull/1023/head
Naglis Jonaitis 7 years ago
parent
commit
f6bf474c86
No known key found for this signature in database GPG Key ID: 4748835F585390F5
  1. 5
      sentry/logutils.py

5
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',
])
Loading…
Cancel
Save