[Fusionforge-commits] FusionForge branch master updated. bbbf59c656e915f98f4fb0285f073f86a96e19e4

Olivier Berger olberger at fusionforge.org
Fri Aug 23 09:09:56 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  bbbf59c656e915f98f4fb0285f073f86a96e19e4 (commit)
      from  9edb5d466785e650bf14fa18acb0e97ace349079 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bbbf59c656e915f98f4fb0285f073f86a96e19e4
Author: Olivier Berger <olivier.berger at telecom-sudparis.eu>
Date:   Fri Aug 23 09:04:12 2013 +0200

    Don't force HTTP 1.0, but use the current version

diff --git a/src/common/include/session.php b/src/common/include/session.php
index 23dcde8..2ad47fe 100644
--- a/src/common/include/session.php
+++ b/src/common/include/session.php
@@ -446,7 +446,7 @@ function session_redirect_external($url) {
 function session_redirect404() {
 	global $HTML, $gfwww, $gfcommon;
 
-	header("HTTP/1.0 404 Not Found");
+	header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
 	require_once $gfwww.'404.php';
 	exit;
 }

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/session.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list