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

Friendly URL does not accept all special characters

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce

      1. Create new page
      2. Navigate to page configuration
      3. In Friendly URL field, enter "'/`[email protected]#$%^&*()_=+[ {]}|;:'",<.>?'"
      4. Save
      5. In page, add 'Blogs' portlet
      6. Create and publish new blog ${BlogTitle}
      7. In new browser window, navigate to ${DefaultLandingPage}//`[email protected]#$%^&*()_=+[\{]}|;:'",<.>?/-/blogs/${BlogTitle}
      8. Confirm navigation to created blog

      Expected Result
      User can navigate to appropriate page using custom friendly URL with special characters

      Actual Result
      Anticipated page does not appear. If the appropriate page is navigated to through other means, the URL is displayed differently than the custom URL. The 'Friendly URL' field in page configuration displays as 'null' after special character configuration is saved. If page is refreshed, Friendly URL will reset to auto-URL.

      Additional Notes
      Similar results are found if a Custom URL is used in the Blogs portlet. The Custom URL field will autofill with a short series of characters (_./)

      Reproduced on
      Tomcat 9.0.6 / MySQL 5.7.21
      Git ID: 3efff4db3098e00dabdd2213b8950d4e6807f805

        Attachments

          Activity

            People

            Assignee:
            adolfo.perez Adolfo Pérez
            Reporter:
            austin.bennett Austin Bennett (Inactive)
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 23 weeks, 3 days ago

                Packages

                Version Package
                7.1.0 Beta 1