##// END OF EJS Templates
svn-support: Add proper escaping to the mod_dav_svn template. #4244...
Martin Bornhold -
r856:caf5ea41 default
parent child Browse files
Show More
@@ -26,21 +26,21 b''
26 # </VirtualHost>
26 # </VirtualHost>
27
27
28
28
29 <Location ${location_root|n}>
29 <Location "${location_root|n}">
30 # The mod_dav_svn module takes the username from the apache request object.
30 # The mod_dav_svn module takes the username from the apache request object.
31 # Without authorization this will be empty and no username is logged for the
31 # Without authorization this will be empty and no username is logged for the
32 # transactions. This will result in "(no author)" for each revision. The
32 # transactions. This will result in "(no author)" for each revision. The
33 # following directives implement a fake authentication that allows every
33 # following directives implement a fake authentication that allows every
34 # username/password combination.
34 # username/password combination.
35 AuthType Basic
35 AuthType Basic
36 AuthName ${rhodecode_realm|n}
36 AuthName "${rhodecode_realm|n}"
37 AuthBasicProvider anon
37 AuthBasicProvider anon
38 Anonymous *
38 Anonymous *
39 Require valid-user
39 Require valid-user
40
40
41 DAV svn
41 DAV svn
42 SVNParentPath ${parent_path_root|n}
42 SVNParentPath "${parent_path_root|n}"
43 SVNListParentPath ${'On' if svn_list_parent_path else 'Off'|n}
43 SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
44
44
45 Allow from all
45 Allow from all
46 Order allow,deny
46 Order allow,deny
@@ -48,16 +48,16 b''
48
48
49 % for location, parent_path in repo_group_paths:
49 % for location, parent_path in repo_group_paths:
50
50
51 <Location ${location|n}>
51 <Location "${location|n}">
52 AuthType Basic
52 AuthType Basic
53 AuthName ${rhodecode_realm|n}
53 AuthName "${rhodecode_realm|n}"
54 AuthBasicProvider anon
54 AuthBasicProvider anon
55 Anonymous *
55 Anonymous *
56 Require valid-user
56 Require valid-user
57
57
58 DAV svn
58 DAV svn
59 SVNParentPath ${parent_path|n}
59 SVNParentPath "${parent_path|n}"
60 SVNListParentPath ${'On' if svn_list_parent_path else 'Off'|n}
60 SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
61
61
62 Allow from all
62 Allow from all
63 Order allow,deny
63 Order allow,deny
General Comments 0
You need to be logged in to leave comments. Login now