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

URLs with character outside 7-bit ASCII are not working correctly in some internal portal redirects

    Details

      Description

      URLs with character outside 7-bit ASCII, for example:

      Root cause of the issue is inside I18nServlet.getI18nData(HttpServletRequest httpServletRequest).
      That method is not encoding the redirect URL.

      The issue is only reproduced in case the URL contains the language section (/en, /es, etc...) as it triggers the I18nServlet execution.

      Steps to reproduce - 1

      1. Create a site called "mysite"
      2. Create a public page called "pageÑÑ".
      3. Publish the page
      4. Open http://localhost:8080/en_US/web/mysite/pageÑÑ (with /en_US in the URL!!)

      Steps to reproduce - 2

      1. Create a site called "mysite"
      2. Create a public page called "pageÑÑ"
      3. Publish the page
      4. Open http://localhost:8080/en/web/mysite/pageÑÑ
      5. Open http://localhost:8080/c/portal/xxxx

        Attachments

          Activity

            People

            • Assignee:
              summer.zhang Summer Zhang
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                17 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP18
                7.1.X
                7.2.10 DXP FP6
                7.2.X
                7.3.3 CE GA4
                Master