From c67dce76b52dcf1f6c110e5b5d9b8da468010f59 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Fri, 16 Oct 2009 18:12:45 +0000
Subject: [PATCH] Expires: 0 est invalide

---
 config/ecran_securite.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/ecran_securite.php b/config/ecran_securite.php
index 1202f10e74..33c68b059f 100644
--- a/config/ecran_securite.php
+++ b/config/ecran_securite.php
@@ -144,7 +144,7 @@ AND strstr($_REQUEST['znom_sauvegarde'], '/'))
  */
 if (isset($ecran_securite_raison)) {
 	header("HTTP/1.0 403 Forbidden");
-	header("Expires: 0");
+	header("Expires: Wed, 11 Jan 1984 05:00:00 GMT");
 	header("Cache-Control: no-cache, must-revalidate");
 	header("Pragma: no-cache");
 	header("Content-Type: text/html");
@@ -177,7 +177,7 @@ if (
 ) {
 	header("HTTP/1.0 503 Service Unavailable");
 	header("Retry-After: 300");
-	header("Expires: 0");
+	header("Expires: Wed, 11 Jan 1984 05:00:00 GMT");
 	header("Cache-Control: no-cache, must-revalidate");
 	header("Pragma: no-cache");
 	header("Content-Type: text/html");
-- 
GitLab