[Fusionforge-commits] FusionForge branch 6.0 updated. 40dacc4a0b860e8bda3775f20704d52c3670ea90

Sylvain Beucler beuc-inria at fusionforge.org
Thu Feb 19 17:04:15 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  40dacc4a0b860e8bda3775f20704d52c3670ea90 (commit)
      from  6260ccec8b459696fa61b8b99a2e82df5ad6e442 (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 40dacc4a0b860e8bda3775f20704d52c3670ea90
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Thu Feb 19 17:03:48 2015 +0100

    scmsvn: viewvc: don't crash from curl/wget

diff --git a/src/plugins/scmsvn/cgi-bin/viewvc.cgi b/src/plugins/scmsvn/cgi-bin/viewvc.cgi
index 68768f5..72b5357 100755
--- a/src/plugins/scmsvn/cgi-bin/viewvc.cgi
+++ b/src/plugins/scmsvn/cgi-bin/viewvc.cgi
@@ -45,7 +45,7 @@ import subprocess
 
 # Get repo path from FusionForge config
 # couldn't find any way to disable compression in forge_get_config/PHP >(
-encoding = os.environ['HTTP_ACCEPT_ENCODING']
+encoding = os.environ.get('HTTP_ACCEPT_ENCODING', None)
 if 'HTTP_ACCEPT_ENCODING' in os.environ: del os.environ['HTTP_ACCEPT_ENCODING']
 repos_path = subprocess.check_output(['forge_get_config', 'repos_path', 'scmsvn']).rstrip()
 cfg.general.root_parents = [repos_path+': svn']

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

Summary of changes:
 src/plugins/scmsvn/cgi-bin/viewvc.cgi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list