[git] web/qa.git branch master updated. 44d2e41
| From: | johannes@php.net | Date: | Fri, 09 Mar 2012 02:15:51 +0000 |
| Subject: | [git] web/qa.git branch master updated. 44d2e41 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66138@lists.php.net to get a copy of this message | ||
The branch master on web/qa.git has been updated
via 44d2e41fe5c42d448850f9c5bb04a03f653254df (commit)
from 50a0f6bb01a6e71d629c67848643f47ab69e9a79 (commit)
http://git.php.net/?p=web/qa.git;a=log;h=44d2e41fe5c42d448850f9c5bb04a03f653254df;hp=50a0f6bb01a6e71d629c67848643f47ab69e9a79
Summary of changes:
pulls/index.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
-- Log ----------------------------------------
commit 44d2e41fe5c42d448850f9c5bb04a03f653254df
Author: Johannes Schlüter <johannes@php.net>
Date: Fri Mar 9 03:05:31 2012 +0100
Force HTTPS
diff --git a/pulls/index.php b/pulls/index.php
index d4bed25..63176e9 100644
--- a/pulls/index.php
+++ b/pulls/index.php
@@ -1,4 +1,9 @@
<?php
+if (empty($_SERVER['HTTPS'])) {
+ header('Location: https://'.$_SERER['HTTP_HOST'].'/pulls/');
+ exit;
+}
+
include("../include/functions.php");
include("../include/release-qa.php");
Thank you for your contribution.