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 1a27a9b5e764d87d66a974c676534760d60e6d9c (commit)
from 543584ac05623b5596abe92f54575137874ffc54 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=1a27a9b5e764d87d66a974c676534760d60e6d9c
commit 1a27a9b5e764d87d66a974c676534760d60e6d9c
Author: Franck Villaume <[email protected]>
Date: Wed Nov 23 10:55:50 2016 +0100
modify standard behavior of session_redirect: permanent set to false
diff --git a/src/common/include/session.php b/src/common/include/session.php
index 6debd6d..998b201 100644
--- a/src/common/include/session.php
+++ b/src/common/include/session.php
@@ -371,7 +371,7 @@ function session_cookie($name, $value, $domain='',
$expiration=0) {
* @param bool $permanent
* @return never returns
*/
-function session_redirect_uri($loc, $permanent=true) {
+function session_redirect_uri($loc, $permanent = true) {
util_save_messages();
if ($permanent)
sysdebug_off("Status: 301 Moved Permanently", true, 301);
@@ -395,7 +395,7 @@ function session_redirect_uri($loc, $permanent=true) {
* @param string $loc Absolute path within the site
* @param bool $permanent
*/
-function session_redirect($loc, $permanent=true) {
+function session_redirect($loc, $permanent = false) {
session_redirect_uri(util_make_url($loc), $permanent);
}
-----------------------------------------------------------------------
Summary of changes:
src/common/include/session.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits