From 6a749ccfccef95865f1892caa223a4e3b52f0858 Mon Sep 17 00:00:00 2001 Message-Id: <6a749ccfccef95865f1892caa223a4e3b52f0858.1717958148.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 30 Mar 2013 14:24:27 +0000 Subject: [PATCH] cmd-cgi.py: Don't allow caching of the `list' page. Organization: Straylight/Edgeware From: Mark Wooding May further reduce the possibility of proxies crossing wires over. --- cmd-cgi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd-cgi.py b/cmd-cgi.py index 57de66c..6dc59ee 100644 --- a/cmd-cgi.py +++ b/cmd-cgi.py @@ -58,6 +58,7 @@ def operate(what, op, services, *args, **kw): @CGI.subcommand('list', ['cgi-query'], 'List available accounts') def cmd_list_cgi(): CGI.page('list.fhtml', + header = dict(pragma = 'no-cache', cache_control = 'no-cache'), title = 'Chopwood: accounts list', accts = CU.list_accounts(CU.USER), nonce = HA.NONCE) -- [mdw]