Fix: Allow POST method for db.view form

master
François-Xavier Thomas 8 years ago
parent 1f1ec26634
commit 6b81f0f6d5
No known key found for this signature in database
GPG Key ID: 64337406D2DD45CE
  1. 2
      libresonic-main/src/main/java/org/libresonic/player/controller/DBController.java

@ -48,7 +48,7 @@ public class DBController {
@Autowired @Autowired
private DaoHelper daoHelper; private DaoHelper daoHelper;
@RequestMapping(method = RequestMethod.GET) @RequestMapping(method = { RequestMethod.GET, RequestMethod.POST })
protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception { protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {
Map<String, Object> map = new HashMap<String, Object>(); Map<String, Object> map = new HashMap<String, Object>();

Loading…
Cancel
Save