Relax rest view suffix

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 8 years ago
parent c309eb79de
commit f78b4a2d76
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 2
      libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java

@ -62,7 +62,7 @@ public class RESTRequestParameterProcessingFilter implements Filter {
private SecurityService securityService; private SecurityService securityService;
private LoginFailureLogger loginFailureLogger; private LoginFailureLogger loginFailureLogger;
private static RequestMatcher requiresAuthenticationRequestMatcher = new RegexRequestMatcher("/rest/.+\\.view\\??.*",null); private static RequestMatcher requiresAuthenticationRequestMatcher = new RegexRequestMatcher("/rest/.+",null);
protected boolean requiresAuthentication(HttpServletRequest request, protected boolean requiresAuthentication(HttpServletRequest request,
HttpServletResponse response) { HttpServletResponse response) {

Loading…
Cancel
Save