login-out 필터 수정

master
mjkhan21 7 months ago
parent 150413f787
commit f01c7d8d24

@ -120,7 +120,7 @@ public class LogFilter extends AbstractComponent {
protected boolean downloadFilter(ServiceLog log) { protected boolean downloadFilter(ServiceLog log) {
Object returned = log.getReturned(); Object returned = log.getReturned();
if (returned instanceof ModelAndView mav) { if (returned instanceof ModelAndView mav) {
if (!"downloadView".equals(mav.getViewName())) return false; if (!"downloadView".equals(mav.getViewName())) return true;
Map<String, Object> model = mav.getModel(); Map<String, Object> model = mav.getModel();
String filename = DownloadView.getFilename(model); String filename = DownloadView.getFilename(model);
@ -132,7 +132,7 @@ public class LogFilter extends AbstractComponent {
return true; return true;
} }
return false; return true;
} }
/**ModelAndView 'downloadData' /**ModelAndView 'downloadData'

Loading…
Cancel
Save