Prevent caching of redirects in shared caches
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 10 Jun 2021 08:49:15 +0000 (10:49 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 10 Jun 2021 08:50:14 +0000 (10:50 +0200)
see #4273

wcfsetup/install/files/lib/util/HeaderUtil.class.php

index c052c8585c9c531d487e52cc7f8c4a8955db3117..8c62084ba2ee4ca547872fb1bad2d948829f6c59 100644 (file)
@@ -187,6 +187,7 @@ final class HeaderUtil
             }
         }
 
+        \header('cache-control: private');
         \header('Location: ' . $location);
     }