Propagate the SVNUseUTF8 option in mod_dav_svn's merge_server_config callback.
Fixes a problem where the SVNUseUTF8 option had no effect in some cases.
* subversion/mod_dav_svn/mod_dav_svn.c
(merge_server_config): Propagete the value of the use_utf8 config variable.
Patch by: Dmitry Bakshaev <dab18 {at} izhnet ru>
@@ -231,6 +231,9 @@ merge_server_config(apr_pool_t *p, void *base, void *overrides)
newconf->compression_level = child->compression_level;
}
+ newconf->use_utf8 = INHERIT_VALUE(parent, child, use_utf8);
+ svn_utf_initialize2(newconf->use_utf8, p);
+
return newconf;
}
