From 190f2755be5186d7a410a5847242a67d6b4bd22c Mon Sep 17 00:00:00 2001 From: Grégoire Aubert Date: Mon, 12 Nov 2018 11:28:17 +0100 Subject: SONAR-11473 Do not serve pages for urls with double slashes --- server/sonar-web/src/main/js/app/utils/getHistory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-web/src/main/js') diff --git a/server/sonar-web/src/main/js/app/utils/getHistory.ts b/server/sonar-web/src/main/js/app/utils/getHistory.ts index e23f7c5f756..467dbf00afd 100644 --- a/server/sonar-web/src/main/js/app/utils/getHistory.ts +++ b/server/sonar-web/src/main/js/app/utils/getHistory.ts @@ -25,7 +25,7 @@ let history: History; function ensureHistory() { history = useRouterHistory(createHistory)({ // do not use `getBaseUrl` from `helpers/urls` to no import this file with all its dependecies - basename: (window as any).baseUrl + '/' + basename: (window as any).baseUrl }); return history; } -- cgit v1.2.3