mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Minor fix that definitely wasn't a major security problem
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user