From f0d0ddbada065ec0ff4fc64aed9d2f9ba48ba5a3 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 15 Nov 2013 22:25:33 +0100 Subject: Switch to random storage ids to avoid exposing information. --- debug_toolbar/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug_toolbar/views.py') diff --git a/debug_toolbar/views.py b/debug_toolbar/views.py index 5d41f77..07e38d9 100644 --- a/debug_toolbar/views.py +++ b/debug_toolbar/views.py @@ -9,7 +9,7 @@ from debug_toolbar.toolbar import DebugToolbar def render_panel(request): """Render the contents of a panel""" - toolbar = DebugToolbar.fetch(int(request.GET['storage_id'])) + toolbar = DebugToolbar.fetch(request.GET['storage_id']) if toolbar is None: content = _("Data for this panel isn't available anymore. " "Please reload the page and retry.") -- cgit v1.2.3