Commit 4456c168 authored by yanzg's avatar yanzg

修复异常提醒,从而正确的跟踪异常信息

parent 1b757745
......@@ -150,7 +150,7 @@ public class AspectLogUrl {
}
}
// 地址处理,源地址最后增加斜杠
if (!StringHelper.compare(sb.substring(sb.length() - 1, sb.length()), "/")) {
if (sb.length() > 1 && !StringHelper.compare(sb.substring(sb.length() - 2, sb.length() - 1), "/")) {
sb.append("/");
}
// 地址处理,来源地址去掉最后的斜杠
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment