mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-20 11:42:24 +08:00
Change URL logging to use request URI instead of URL (#341)
This commit is contained in:
@@ -93,7 +93,7 @@ public class AopAccessLoggerSupport extends StaticMethodMatcherPointcutAdvisor {
|
||||
info.setHttpHeaders(WebUtils.getHeaders(request));
|
||||
info.setIp(WebUtils.getIpAddr(request));
|
||||
info.setHttpMethod(request.getMethod());
|
||||
info.setUrl(request.getRequestURL().toString());
|
||||
info.setUrl(request.getRequestURI().toString());
|
||||
}
|
||||
return info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user