From a65b2e31f9a9f76ee76a4aeea78676b6e2771800 Mon Sep 17 00:00:00 2001 From: DaveBoy1994 Date: Fri, 13 Mar 2020 10:40:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8B=E8=BD=BD=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=B8=AD=3F=E5=90=8E=E9=9D=A2=E5=AD=98=E5=9C=A8/?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E5=B4=A9=E6=BA=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/arialyy/aria/util/DbDataHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java b/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java index bf4d306e..8a2fabf1 100644 --- a/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java +++ b/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java @@ -107,8 +107,8 @@ public class DbDataHelper { int lastIndex = url.lastIndexOf(File.separator); //去除url末尾携带的的参数 int endIndex = url.lastIndexOf("?"); - if(endIndex<0)endIndex=url.length(); + if(endIndex<0||endIndex