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

Friendly URL are not correctly generated in case virtual host has UTF-8 characters

    Details

      Description

      Friendly URL are not correctly generated in case virtual host has UTF-8 characters.

      Steps to reproduce

      1. Create a new site called "mysite"
      2. Add two pages called "page1" and "page2" to that site
      3. Configure its public virtual host with ññ.example (it has UTF-8 characters)
      4. Edit your /etc/hosts (Linux) or C:\Windows\System32\drivers\etc\hosts (Windows) file and add following line:
        127.0.0.1	xn--idaa.example
      5. Open http://ññ.example:8080 in a browser.
      6. Check "page1" and "page2" links:
        • Expected behavior: Links are correct: http://ññ.example.com:8080 and http://ññ.example.com:8080/page2
        • Wrong behavior: Links are wrong: http://ññ.example.com:8080/web/mysite/page1 and http://ññ.example.com:8080/web/mysite/page2

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 34 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP90
                  7.0.10.13 DXP SP13
                  7.0.X
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X
                  7.2.10 DXP FP4
                  7.2.X
                  7.3.0 CE GA1
                  7.3.10 DXP GA1
                  Master