Affects Version/s: Master
Component/s: User Management > Users & Organizations
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:
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."