浏览代码

jfinal 4.3

James 6 年之前
父节点
当前提交
113fd52e19
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/jfinal/proxy/ProxyCompiler.java

+ 1 - 1
src/main/java/com/jfinal/proxy/ProxyCompiler.java

@@ -87,7 +87,7 @@ public class ProxyCompiler {
 				ret.append(File.pathSeparator);
 			}
 			String path = url.getFile();
-			if (path.length() > 2 && path.endsWith(File.separator)) {
+			if (path.length() > 1 && path.endsWith(File.separator)) {
 				path = path.substring(0, path.length() - 1);
 			}
 			ret.append(path);