Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-35039

Portal redirects guests to the default language when locale.prepend.friendly.url.style=2 and locale.default.request=true

Details

    Description

      Portal redirects guests to the default language, despite of having:

      • browser language preferences (reflected in accept-language header being sent to the server)
      • locale.prepend.friendly.url.style=2
      • locale.default.request=true

      Steps to reproduce:
      1) Configure portal as follows: locale.prepend.friendly.url.style=2 and locale.default.request=true. Make sure that the default portal language is "en_US"
      2) Configure browser language preferences, including Spanish (es) as your preferred language
      3) Delete all browser cookies
      4) As a guest, access to http://localhost:8080/

      Observed behavior:

      Expected behavior:

      Attachments

        Issue Links

          Activity

            People

              pani.gui Pani Gui (Inactive)
              daniel.sanz Daniel Sanz
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10 years, 4 weeks, 6 days ago

                Packages

                  Version Package
                  6.0.X EE
                  6.1.30 EE GA3
                  6.2.0 CE M6