From d9fa73bbd5161ebe0bc253d6c9c02268febae388 Mon Sep 17 00:00:00 2001 From: Gabriel Shahzad Date: Sun, 26 Jul 2015 11:24:38 +0200 Subject: [PATCH] Fixed accidental redirects Sometimes a user would still be redirected to a cached piratebox.lan site after disconnecting from the piratebox wifi. This has something to do with how different browsers interact with the cache-control meta tag. Adding "pragma" and "expires" tags as well as additional "cache-control" contents fixes that. --- piratebox/piratebox/www/redirect.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/piratebox/piratebox/www/redirect.html b/piratebox/piratebox/www/redirect.html index 0d9c7ae..500a68b 100755 --- a/piratebox/piratebox/www/redirect.html +++ b/piratebox/piratebox/www/redirect.html @@ -1,7 +1,9 @@ Redirect... - + + + Redirect