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  2b898149b826d25243f9f9452cd253aeac40003d (commit)
      from  a8b979e4d47c5d4e1e6815a966c05960ab71c321 (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=2b898149b826d25243f9f9452cd253aeac40003d

commit 2b898149b826d25243f9f9452cd253aeac40003d
Author: Franck Villaume <[email protected]>
Date:   Sat Jul 23 15:08:38 2016 +0200

    scmsvn plugin: remove hardcode protocol. use configuration value

diff --git a/src/plugins/scmsvn/libexec/svnlog.php 
b/src/plugins/scmsvn/libexec/svnlog.php
index 43f45fa..08a28f0 100644
--- a/src/plugins/scmsvn/libexec/svnlog.php
+++ b/src/plugins/scmsvn/libexec/svnlog.php
@@ -32,8 +32,9 @@ header('Content-type: text/plain');
 # Authentify request
 if (!preg_match(',^/anonscm/,', $_SERVER['REQUEST_URI'])) {
        $web_host = forge_get_config('web_host');
+       $protocol = forge_get_config('use_ssl', 'scmsvn') ? 'https://' : 
'http://';
        $ch = curl_init();
-       curl_setopt($ch, CURLOPT_URL, 'https://' . $web_host . 
'/account/check_forwarded_session.php');
+       curl_setopt($ch, CURLOPT_URL, $protocol . $web_host . 
'/account/check_forwarded_session.php');
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

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

Summary of changes:
 src/plugins/scmsvn/libexec/svnlog.php | 3 ++-
 1 file changed, 2 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