From ea04016a3b338b73f2878cda12e8c7f0e622cbb9 Mon Sep 17 00:00:00 2001
From: "Silas S. Brown" <ssb22@cam.ac.uk>
Date: Tue, 14 Jun 2016 12:11:58 +0000
Subject: [PATCH] Update ImapFix, Web Adjuster, css-generate.py

git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/adjuster@2518 29193198-4895-4776-b068-10539e920549
---
 adjuster.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/adjuster.py b/adjuster.py
index e38fb58..dc13ae3 100755
--- a/adjuster.py
+++ b/adjuster.py
@@ -1639,7 +1639,7 @@ document.forms[0].i.focus()
         if maybeRobots: return self.serveRobots()
         if self.needCssCookies():
             self.add_nocache_headers() # please don't cache this redirect!  otherwise user might not be able to leave the URL box after:
-            return self.redirect("http://"+hostSuffix()+publicPortStr()+"/?d="+urllib.quote(protocolWithHost(realHost)+self.request.uri)) # go to the URL box - need to set more options
+            return self.redirect("http://"+hostSuffix()+publicPortStr()+"/?d="+urllib.quote(protocolWithHost(realHost)+self.request.uri),302) # go to the URL box - need to set more options (and 302 not 301, or some browsers could cache it despite the above)
         self.addCookieFromURL() # for cookie_host
         converterFlags = []
         for opt,suffix,ext,fmt in [
-- 
GitLab