From 59a7dd72317a81d3ca6e3617946c985522fd0b73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 10 Jun 2021 10:49:15 +0200 Subject: [PATCH] Prevent caching of redirects in shared caches see #4273 --- wcfsetup/install/files/lib/util/HeaderUtil.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/util/HeaderUtil.class.php b/wcfsetup/install/files/lib/util/HeaderUtil.class.php index c052c8585c..8c62084ba2 100644 --- a/wcfsetup/install/files/lib/util/HeaderUtil.class.php +++ b/wcfsetup/install/files/lib/util/HeaderUtil.class.php @@ -187,6 +187,7 @@ final class HeaderUtil } } + \header('cache-control: private'); \header('Location: ' . $location); } -- 2.20.1