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

Canonical URLs do no contain page names when accessing the page with upper case characters

    Details

      Description

      Reproduction steps:

      1. Go to Site Builder --> Pages --> and add a public page (content or widget page) and name it testpage, then make sure that the friendly URL is /testpage
      2. Logout and in incognito window access the page. via http://localhost:8080/Testpage without "web/guest", and right-click on the page and select "View page source", then check the canonical and alternate URLs.

      Actual Result: The canonical and alternate URLs do not contain the page name:

      <link data-senna-track="temporary" href="http://localhost:8080" rel="canonical" />
      <link data-senna-track="temporary" href="http://localhost:8080" hreflang="en-US" rel="alternate" />
      <link data-senna-track="temporary" href="http://localhost:8080" hreflang="x-default" rel="alternate" />

      Expected Result: The canonical and alternate URLs should contain the page name:

      <link data-senna-track="temporary" href="http://localhost:8080/testpage" rel="canonical" />
      <link data-senna-track="temporary" href="http://localhost:8080/testpage" hreflang="en-US" rel="alternate" />
      <link data-senna-track="temporary" href="http://localhost:8080/testpage" hreflang="x-default" rel="alternate" />

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            attila.bakay Attila Bakay
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Attila Bakay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.3.X
                7.4.2 CE GA3 DXP 7,4
                Master