Remove _request key from cache's context

issue10376
review351901002
(grafted from 32c2df0914f6702aa98adb0a6acbd744d93ec057)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2021-05-05 23:14:54 +02:00
1 parent 391b551efb
commit b478c2d241
1 file changed
+1
+1
View File
@@ -85,6 +85,7 @@ class BaseCache(object):
if self.context:
context = Transaction().context.copy()
context.pop('client', None)
context.pop('_request', None)
return (key, Transaction().user, freeze(context))
return key