aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2018-11-12 11:28:17 +0100
committerSonarTech <sonartech@sonarsource.com>2018-11-15 20:20:59 +0100
commit190f2755be5186d7a410a5847242a67d6b4bd22c (patch)
treeb33107e4321c32f73c878d40bc5198cdbd2878f1 /server/sonar-web/src/main/js
parentc1e706a4149d47a5e4f76fe409c5a100ecb5695d (diff)
downloadsonarqube-190f2755be5186d7a410a5847242a67d6b4bd22c.tar.gz
sonarqube-190f2755be5186d7a410a5847242a67d6b4bd22c.zip
SONAR-11473 Do not serve pages for urls with double slashes
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/app/utils/getHistory.ts2
1 files changed, 1 insertions, 1 deletions
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;
}