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  23a7156f58b7b87f63d9e21e193f51d69b4277a3 (commit)
      from  7ba3bcb8bd937b3612b7b52f107f7df464bb90f8 (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=23a7156f58b7b87f63d9e21e193f51d69b4277a3

commit 23a7156f58b7b87f63d9e21e193f51d69b4277a3
Author: Franck Villaume <[email protected]>
Date:   Wed Mar 23 18:46:02 2016 +0100

    plugin scmhook: support self signed certificates

diff --git a/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php 
b/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php
index 0777b15..5a1e403 100755
--- a/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php
+++ b/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php
@@ -201,6 +201,8 @@ $vars['data'] = urlencode(serialize($SubmitVars));
 $ch = curl_init();
 curl_setopt($ch, CURLOPT_URL, $SubmitUrl);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
 curl_setopt($ch, CURLOPT_POST, true);
 curl_setopt($ch, CURLOPT_POSTFIELDS, $vars);
 $result = curl_exec($ch);
diff --git a/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php 
b/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php
index 078131a..bf768b1 100755
--- a/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php
+++ b/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php
@@ -6,7 +6,7 @@
  * Portions Copyright 2004 (c) Roland Mas <99.roland.mas @nospam@ aist.enst.fr>
  * The rest Copyright 2004 (c) Francisco Gimeno <kikov @nospam@ kikov.org>
  * Copyright 2011, Franck Villaume - Capgemini
- * Copyright 2013,2015 Franck Villaume - TrivialDev
+ * Copyright 2013,2015-2016 Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -169,6 +169,8 @@ $vars['data'] = urlencode(serialize($SubmitVars));
 $ch = curl_init();
 curl_setopt($ch, CURLOPT_URL, $SubmitUrl);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
 curl_setopt($ch, CURLOPT_POST, true);
 curl_setopt($ch, CURLOPT_POSTFIELDS, $vars);
 $result = curl_exec($ch);

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

Summary of changes:
 src/plugins/scmhook/library/scmgit/hooks/committracker/post.php | 2 ++
 src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

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

Reply via email to