Author: dkuleshov
Date: 2011-03-31 03:43:45 -0400 (Thu, 31 Mar 2011)
New Revision: 4193
Modified:
jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1605/JCR-1605.patch
Log:
JCR-1605: patch fix
Modified: jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1605/JCR-1605.patch
===================================================================
--- jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1605/JCR-1605.patch 2011-03-31 07:33:39 UTC
(rev 4192)
+++ jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1605/JCR-1605.patch 2011-03-31 07:43:45 UTC
(rev 4193)
@@ -3,20 +3,20 @@
---
exo.jcr.component.webdav/src/main/java/org/exoplatform/services/jcr/webdav/command/propfind/PropFindResponseEntity.java (revision
4188)
+++
exo.jcr.component.webdav/src/main/java/org/exoplatform/services/jcr/webdav/command/propfind/PropFindResponseEntity.java (working
copy)
@@ -32,7 +32,6 @@
- import java.io.OutputStream;
- import java.io.UnsupportedEncodingException;
- import java.net.URISyntaxException;
--import java.net.URLDecoder;
- import java.util.Set;
-
- import javax.jcr.RepositoryException;
+ import java.io.OutputStream;
+ import java.io.UnsupportedEncodingException;
+ import java.net.URISyntaxException;
+-import java.net.URLDecoder;
+ import java.util.Set;
+
+ import javax.jcr.RepositoryException;
@@ -172,7 +171,8 @@
- xmlStreamWriter.writeStartElement("DAV:", "response");
-
- xmlStreamWriter.writeStartElement("DAV:", "href");
-- String href = URLDecoder.decode(resource.getIdentifier().toASCIIString(),
"UTF-8");
-+ String href = resource.getIdentifier().toASCIIString();
-+
- if (resource.isCollection())
- {
- xmlStreamWriter.writeCharacters(href + "/");
+ xmlStreamWriter.writeStartElement("DAV:", "response");
+
+ xmlStreamWriter.writeStartElement("DAV:", "href");
+- String href = URLDecoder.decode(resource.getIdentifier().toASCIIString(),
"UTF-8");
++ String href = resource.getIdentifier().toASCIIString();
++
+ if (resource.isCollection())
+ {
+ xmlStreamWriter.writeCharacters(href + "/");
Show replies by date