fix(svn): fixed svn ssl support compatability. Fixes #5711
the header downgrade can be eanbled by default as it works on ssl and non ssl. Make configuration much easier
This commit is contained in:
parent
b3bb2a910e
commit
0147afa4ff
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@
|
|||
% if use_https:
|
||||
RequestHeader edit Destination ^https: http: early
|
||||
% else:
|
||||
#RequestHeader edit Destination ^https: http: early
|
||||
RequestHeader edit Destination ^https: http: early
|
||||
% endif
|
||||
|
||||
<Location "${location_root|n}">
|
||||
|
|
|
|||
|
|
@ -115,5 +115,5 @@ class TestModDavSvnConfig(object):
|
|||
assert 'RequestHeader edit Destination ^https: http: early' \
|
||||
in generated_config
|
||||
else:
|
||||
assert '#RequestHeader edit Destination ^https: http: early' \
|
||||
assert 'RequestHeader edit Destination ^https: http: early' \
|
||||
in generated_config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue