From b02ae5a8e18d690637db6261cd9bb460dc8c7fe2 Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 20 Jul 2009 17:02:03 -0700 Subject: [PATCH] Minor fix that definitely wasn't a major security problem --- r2/r2/lib/wrapped.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/wrapped.py b/r2/r2/lib/wrapped.py index cf998c032..e555bc49d 100644 --- a/r2/r2/lib/wrapped.py +++ b/r2/r2/lib/wrapped.py @@ -385,7 +385,7 @@ class CachedTemplate(Templated): # these values are needed to render any link on the site, and # a menu is just a set of links, so we best cache against # them. - keys = [c.user_is_loggedin, c.use_is_admin, + keys = [c.user_is_loggedin, c.user_is_admin, c.render_style, c.cname, c.lang, c.site.path, template_hash] keys = [make_cachable(x, *a) for x in keys]