[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 0be7f1f48ee9f498c9f929ceca2f514a1bcd4f57

Sylvain Beucler beuc-inria at fusionforge.org
Wed Dec 10 12:07:07 CET 2014


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, Branch_5_3 has been updated
       via  0be7f1f48ee9f498c9f929ceca2f514a1bcd4f57 (commit)
      from  a618c6cd83c8ab1c6fc3b310035f59dc31df3ecf (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 0be7f1f48ee9f498c9f929ceca2f514a1bcd4f57
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Wed Dec 10 12:06:58 2014 +0100

    project homepage: default to http:// rather than https:// for external homepage links [#752]

diff --git a/src/CHANGES b/src/CHANGES
index 85705a6..b180724 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -1,5 +1,6 @@
 Fusionforge-5.3.3:
 * User e-mail change: simplify confirmation hash and precise encoding to avoid mangling in some versions of Thunderbird and Apple Mail [#738] (Inria)
+* Project homepage: default to http:// rather than https:// for external homepage links [#752] (Inria)
 * SCM: use 'shell_host' variable (or failing that, 'web_host') to document where users can SSH to the group shared directory [#698] (Inria)
 * SCM stats: fix order in stats block [#736] (TrivialDev)
 * System replication: refresh nscd cache before applying changes
diff --git a/src/common/include/Group.class.php b/src/common/include/Group.class.php
index 97530bd..131dfd6 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -1552,7 +1552,7 @@ class Group extends Error {
 	function getHomePage() {
 		if (!preg_match("/^[a-zA-Z][a-zA-Z0-9+.-]*:/",
 			$this->data_array['homepage'])) {
-			$this->data_array['homepage'] = util_url_prefix() .
+			$this->data_array['homepage'] = 'http://' .
 				$this->data_array['homepage'];
 		}
 		return $this->data_array['homepage'];

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

Summary of changes:
 src/CHANGES                        |    1 +
 src/common/include/Group.class.php |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list