From b8f183be5e21975a9dffe49b4cfb8ffd9873a752 Mon Sep 17 00:00:00 2001 From: zuodajiang Date: Sat, 18 Sep 2021 11:12:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E4=B8=AD=E5=90=AB=E6=9C=89=E7=A9=BA=E6=A0=BC=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8=E6=B5=8F=E8=A7=88=E5=99=A8=E6=97=A0=E6=B3=95=E8=AE=BF?= =?UTF-8?q?=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/net/sf/webdav/methods/DoGet.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/net/sf/webdav/methods/DoGet.java b/src/main/java/net/sf/webdav/methods/DoGet.java index 4f4e5a5..3e1164e 100644 --- a/src/main/java/net/sf/webdav/methods/DoGet.java +++ b/src/main/java/net/sf/webdav/methods/DoGet.java @@ -18,7 +18,7 @@ package net.sf.webdav.methods; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; -import java.net.URLEncoder; + import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Arrays; @@ -34,6 +34,7 @@ import net.sf.webdav.StoredObject; import net.sf.webdav.WebdavStatus; import net.sf.webdav.locking.ResourceLocks; import org.apache.tomcat.util.http.fileupload.IOUtils; +import org.springframework.web.util.UriUtils; public class DoGet extends DoHead { @@ -146,7 +147,7 @@ public class DoGet extends DoHead { childrenTemp.append("\">"); childrenTemp.append(""); childrenTemp.append("