From 619dd6837786dcfab2bac86a158960579ae29c9f Mon Sep 17 00:00:00 2001 From: KomachiSion <263976490@qq.com> Date: Fri, 15 Jan 2021 10:31:12 +0800 Subject: [PATCH] Revert interceptor all ui problem --- .../src/main/java/com/alibaba/nacos/core/auth/AuthFilter.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/main/java/com/alibaba/nacos/core/auth/AuthFilter.java b/core/src/main/java/com/alibaba/nacos/core/auth/AuthFilter.java index 73481f9066e..3a3f5a7ebda 100644 --- a/core/src/main/java/com/alibaba/nacos/core/auth/AuthFilter.java +++ b/core/src/main/java/com/alibaba/nacos/core/auth/AuthFilter.java @@ -100,9 +100,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha Method method = methodsCache.getMethod(req); if (method == null) { - // For #4701, Only support register API. - resp.sendError(HttpServletResponse.SC_NOT_FOUND, - "Not found mehtod for path " + req.getMethod() + " " + req.getRequestURI()); + chain.doFilter(request, response); return; }