Uploaded image for project: 'Magnolia Multisite Module'
  1. Magnolia Multisite Module
  2. MULTISITE-83

Language handling with MultiSite should be more strict

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      When using MultiSite together with I18nContentSupport, one can access language mutations multiple ways:
      If /travel/mappings/website@URIPrefix=/test

      then one can access site using
      https://demopublic.magnolia-cms.com/de/test/contact
      https://demopublic.magnolia-cms.com/test/de/contact

      In both cases MultiSite removes the URIPrefix and language is then resolved by the I18nContentSupport.

      Same can happen if we use site prefix, for example these will also work:
      https://demopublic.magnolia-cms.com/de/sportstation/about
      https://demopublic.magnolia-cms.com/sportstation/de/about
      (Note: enable i18n in sportstation and remove domain mapping for travel site before clicking urls above.)

      Same as above, in both cases MultiSite removes the site prefix and language is then resolved by the I18nContentSupport.

      I'd consider good practice to support only the first case as it seems confusing that we can access same content under two same urls.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jsimak Jaroslav Simak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD