=== subversion/mod_dav_svn/repos.c
==================================================================
--- subversion/mod_dav_svn/repos.c	(revision 16466)
+++ subversion/mod_dav_svn/repos.c	(local)
@@ -2458,7 +2458,7 @@
 	/* We quote special characters in both XML and HTML. */
 	name = apr_xml_quote_string(entry_pool, name, !gen_html);
 
-        href = ap_escape_uri(entry_pool, href);
+        href = ap_os_escape_path(entry_pool, href, 0);
 	href = apr_xml_quote_string(entry_pool, href, 1);
 
         if (gen_html)

