From d84d681dd80d70d98cdaa1d892cac8bc9385bda7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E7=8E=89=E6=A1=94?= Date: Wed, 6 May 2020 11:35:41 +0800 Subject: [PATCH] dashboard: Fix the bug that cookie may have conflict with web applications under the same domain (#1443) --- sentinel-dashboard/src/main/resources/application.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sentinel-dashboard/src/main/resources/application.properties b/sentinel-dashboard/src/main/resources/application.properties index a2f84dec89..b9e026c96c 100755 --- a/sentinel-dashboard/src/main/resources/application.properties +++ b/sentinel-dashboard/src/main/resources/application.properties @@ -3,6 +3,9 @@ spring.http.encoding.force=true spring.http.encoding.charset=UTF-8 spring.http.encoding.enabled=true +#cookie name setting +server.servlet.session.cookie.name=sentinel_dashboard_cookie + #logging settings logging.level.org.springframework.web=INFO logging.file=${user.home}/logs/csp/sentinel-dashboard.log