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

Unable to create a User with an apostrophe character in Screen Name

Details

    Description

      Description:

      Liferay provides a portal property for users to specify which special characters are allowed to be used when creating a new user screen name. But, this property is not working as expected for special characters, such as apostrophe(').

      Steps to Reproduce:

      1) Setup Liferay DXP
      2) Add the following property in portal-ext.properties file:

      users.screen.name.special.characters=-._\\'

      3) Startup Liferay.
      4) Navigate to Control Panel>Users>Users and Organizations
      5) Click Add icon in the bottom right corner to add a new User.
      6) Create a User with a Screen Name that contains an apostrophe (') EX: test'

      Expected Result: User is created.
      Actual Result: The following messages are received and User is not created:

      "Incorrect username or password. Please try again."
      "The screen name you requested must produce a valid friendly URL."

       

      Attachments

        Activity

          People

            hong.zhao Hong Zhao (Inactive)
            eric.yan Eric Yan
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 3 weeks, 6 days ago

              Packages

                Version Package
                7.0.0 DXP FP33
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.X
                Master