LPS-40768

Hey Hugo,

It looks like this check to replace special characters was added in https://issues.liferay.com/browse/LPS-28490, however I'm not sure if they wanted to exclude all special characters or if allowing hyphens was ok.

For the future, for questions like "What did the original developer intend?", should I just forward them on to you and either you can answer or forward on to the dev, or should I have whoever is making the pull request email them to find out?

Thanks.