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:
RhodeCode Admin 2023-12-08 14:05:32 +01:00
parent b3bb2a910e
commit 0147afa4ff
2 changed files with 2 additions and 2 deletions

View file

@ -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}">

View file

@ -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