[Fusionforge-commits] FusionForge branch 6.0 updated. 8a49d506f95efe1544c2ff0bbd84a10ff88ee594
Franck Villaume
nerville at fusionforge.org
Sun Feb 22 17:54:01 CET 2015
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, 6.0 has been updated
via 8a49d506f95efe1544c2ff0bbd84a10ff88ee594 (commit)
from 9e10069b67f231dc35bb34caff9dc8cb1f6feb15 (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 8a49d506f95efe1544c2ff0bbd84a10ff88ee594
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Sun Feb 22 17:50:30 2015 +0100
scm: fix curl options following german manpage which is more accurate: http://php.net/manual/de/function.curl-setopt.php
diff --git a/src/www/scm/viewvc.php b/src/www/scm/viewvc.php
index 0523b12..1ea31c3 100644
--- a/src/www/scm/viewvc.php
+++ b/src/www/scm/viewvc.php
@@ -107,6 +107,7 @@ if ($external_scm) {
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_URL, $script_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_COOKIE, $_SERVER['HTTP_COOKIE']); // for session validation
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); // for session validation
-----------------------------------------------------------------------
Summary of changes:
src/www/scm/viewvc.php | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list