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  33bb16ad9fd6ffad750835a0b54808ba793405b9 (commit)
      from  488e058505fd325b889a55d4a319b6357e10536f (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=33bb16ad9fd6ffad750835a0b54808ba793405b9

commit 33bb16ad9fd6ffad750835a0b54808ba793405b9
Author: Franck Villaume <[email protected]>
Date:   Sun Mar 6 19:43:43 2016 +0100

    tab vs. space

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php 
b/src/plugins/scmgit/common/GitPlugin.class.php
index 31e8f78..be095a5 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -503,10 +503,10 @@ control over it to the project's administrator.");
                        $repo_name = db_result($result,$i,'repo_name');
                        $description = db_result($result,$i,'description');
                        $clone_url = db_result($result,$i,'clone_url');
-            // Clone URLs need to be validated to prevent a potential 
arbitrary command execution
-            if (!preg_match('|^[-a-zA-Z0-9:./_]+$|', $clone_url)) {
-                    $clone_url = '';
-            }
+                       // Clone URLs need to be validated to prevent a 
potential arbitrary command execution
+                       if (!preg_match('|^[-a-zA-Z0-9:./_]+$|', $clone_url)) {
+                               $clone_url = '';
+                       }
                        $repodir = $root . '/' .  $repo_name . '.git';
                        if (!is_file("$repodir/HEAD") && 
!is_dir("$repodir/objects") && !is_dir("$repodir/refs")) {
                                if ($clone_url != '') {

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

Summary of changes:
 src/plugins/scmgit/common/GitPlugin.class.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to