# HG changeset patch # User Martin Bornhold # Date 2016-10-04 09:18:52 # Node ID d2115b360a98fed4c68684268745e9d75d2c97b6 # Parent e87951a3eabb934efe1725e2e2b603df38edaeb9 http: Use http as default setting when sanitize config values. Part of #4237 diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -430,10 +430,11 @@ def _sanitize_vcs_settings(settings): """ _string_setting(settings, 'vcs.svn.compatible_version', '') _string_setting(settings, 'git_rev_filter', '--all') - _string_setting(settings, 'vcs.hooks.protocol', 'pyro4') + _string_setting(settings, 'vcs.hooks.protocol', 'http') + _string_setting(settings, 'vcs.scm_app_implementation', 'http') _string_setting(settings, 'vcs.server', '') _string_setting(settings, 'vcs.server.log_level', 'debug') - _string_setting(settings, 'vcs.server.protocol', 'pyro4') + _string_setting(settings, 'vcs.server.protocol', 'http') _bool_setting(settings, 'startup.import_repos', 'false') _bool_setting(settings, 'vcs.hooks.direct_calls', 'false') _bool_setting(settings, 'vcs.server.enable', 'true')