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

Liferay shows encoded version of friendly URL in 404 error message

    Details

      Description

      Steps to reproduce - 1

      1. Start vanilla DXP patched with de-38 and login as default admin
      2. Create a page with the name "Testisivu Särkkä"
      3. Open that page
      4. Change any letter of the friendly URL in the browser's address bar, and hit Enter, to get a 404 error message

      Actual behavior: The encoded version of friendly URL is shown in the error message (see attached image below):

      "The requested resource could not be found.

      http://localhost:8080/web/guest/testisivu-s%C3%B6rkk%C3%A4

      Expected behavior: Decoded version of the URL should be shown, like

      "The requested resource could not be found.

      http://localhost:8080/web/guest/testisivu-s]ärkkä

      Steps to Reproduce - 2

      1. Visit a random non-existing page like
        http://localhost:8080/web/guest/testisivu-s]ärkkä

        Actual Result: The URL is written into the error message in its encoded form
        Expected behavior: Decoded version of the URL should be shown so as you entered

       7.0.x @ commit (6a1f3038c429fc59586c696df30de7d44b0c3206) reproduced
       master @ commit (9f2cbbd236513332dca1ef619bca3dec6616a4c1) reproduced

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 38 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP40
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.0 M1
                  Master