diff src/org/eclipse/jetty/util/resource/Resource.java @ 1013:6939226e0ac4

simplify URIUtil
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 24 Oct 2016 01:06:33 -0600
parents 7c737c376bc3
children
line wrap: on
line diff
--- a/src/org/eclipse/jetty/util/resource/Resource.java	Mon Oct 24 00:47:24 2016 -0600
+++ b/src/org/eclipse/jetty/util/resource/Resource.java	Mon Oct 24 01:06:33 2016 -0600
@@ -494,7 +494,7 @@
 			buf.append(path);
 			
 			if (item.isDirectory() && !path.endsWith("/"))
-				buf.append(URIUtil.SLASH);
+				buf.append("/");
 			
 			// URIUtil.encodePath(buf,path);
 			buf.append("\">");