From f78b4a2d7619f0cbfa65da78a269a9361183fd26 Mon Sep 17 00:00:00 2001 From: Andrew DeMaria Date: Mon, 20 Mar 2017 18:09:13 -0600 Subject: [PATCH] Relax rest view suffix Signed-off-by: Andrew DeMaria --- .../player/security/RESTRequestParameterProcessingFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java b/libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java index 7de14cce..e82c071b 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java +++ b/libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java @@ -62,7 +62,7 @@ public class RESTRequestParameterProcessingFilter implements Filter { private SecurityService securityService; 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, HttpServletResponse response) {