Source

svnkit-mq / svnkit-dav.11

Full commit
# HG changeset patch
# Parent d4ffac74a2ecf13512e0d7417c17067a7f2215e7
do not encode url in xml responses

diff -r d4ffac74a2ec -r 937f5773b136 svnkit-dav/src/main/java/org/tmatesoft/svn/core/internal/server/dav/DAVPathUtil.java
--- a/svnkit-dav/src/main/java/org/tmatesoft/svn/core/internal/server/dav/DAVPathUtil.java	Tue Nov 27 16:48:43 2012 +0100
+++ b/svnkit-dav/src/main/java/org/tmatesoft/svn/core/internal/server/dav/DAVPathUtil.java	Tue Nov 27 17:41:05 2012 +0100
@@ -125,7 +125,9 @@
 
     public static String buildURI(String context, DAVResourceKind davResourceKind, long revision, String path, boolean addHref) {
         StringBuffer resultURI = new StringBuffer();
-        path = path == null ? "" : SVNEncodingUtil.uriEncode(path);
+        if ( path == null ){
+            path = "";
+        }
         context = context == null ? "" : context;
         if (addHref) {
             SVNXMLUtil.openXMLTag(SVNXMLUtil.DAV_NAMESPACE_PREFIX, DAVElement.HREF.getName(), SVNXMLUtil.XML_STYLE_PROTECT_CDATA,