Index: cms/sources.py |
diff --git a/cms/sources.py b/cms/sources.py |
index f0a7788de701e6e920dfa8b79ae783d084d6c883..ff4a528ce5deccabf0401e27cdd99dd3a7b62a08 100644 |
--- a/cms/sources.py |
+++ b/cms/sources.py |
@@ -41,7 +41,7 @@ class Source: |
config = self.read_config() |
default_locale = config.get("general", "defaultlocale") |
default_page = config.get("general", "defaultpage") |
- alternative_page = "/".join([page, default_page]).lstrip("/") |
+ alternative_page = "/".join([page.rstrip("/"), default_page]).lstrip("/") |
if self.has_localizable_file(default_locale, page): |
if not self.has_localizable_file(locale, page): |