From 72bcb2aa102e5e533ee09c7d57e80d688477b625 Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Tue, 27 Sep 2016 09:02:55 +0200 Subject: [PATCH] svn-support: Disable all mako default filters. #4244 Mako default filter may change the value in a way that breaks the apache configuration. E.g. when applying HTML escaping. --- .../svn_support/templates/mod-dav-svn.conf.mako | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rhodecode/svn_support/templates/mod-dav-svn.conf.mako b/rhodecode/svn_support/templates/mod-dav-svn.conf.mako index dea7b8a6..260c7498 100644 --- a/rhodecode/svn_support/templates/mod-dav-svn.conf.mako +++ b/rhodecode/svn_support/templates/mod-dav-svn.conf.mako @@ -26,21 +26,21 @@ # - + # The mod_dav_svn module takes the username from the apache request object. # Without authorization this will be empty and no username is logged for the # transactions. This will result in "(no author)" for each revision. The # following directives implement a fake authentication that allows every # username/password combination. AuthType Basic - AuthName ${rhodecode_realm} + AuthName ${rhodecode_realm|n} AuthBasicProvider anon Anonymous * Require valid-user DAV svn - SVNParentPath ${parent_path_root} - SVNListParentPath ${'On' if svn_list_parent_path else 'Off'} + SVNParentPath ${parent_path_root|n} + SVNListParentPath ${'On' if svn_list_parent_path else 'Off'|n} Allow from all Order allow,deny @@ -48,16 +48,16 @@ % for location, parent_path in repo_group_paths: - + AuthType Basic - AuthName ${rhodecode_realm} + AuthName ${rhodecode_realm|n} AuthBasicProvider anon Anonymous * Require valid-user DAV svn - SVNParentPath ${parent_path} - SVNListParentPath ${'On' if svn_list_parent_path else 'Off'} + SVNParentPath ${parent_path|n} + SVNListParentPath ${'On' if svn_list_parent_path else 'Off'|n} Allow from all Order allow,deny