Browse Source

jfinal 4.3

James 6 years ago
parent
commit
c180d8a4ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/jfinal/proxy/ProxyCompiler.java

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

@@ -102,7 +102,7 @@ public class ProxyCompiler {
 			}
 			
 			// 去除后缀字符 '/'
-			if (path.length() > 1 && ( path.endsWith("/")) || path.endsWith(File.separator) ) {
+			if (path.length() > 1 && (path.endsWith("/") || path.endsWith(File.separator))) {
 				path = path.substring(0, path.length() - 1);
 			}