Steps to reproduce:
- Create a web content named as "<script>alert(123);</script>".
- Publish it.
- Edit the web content's tittle as "WC WebContent Tittle".
- Click "Publish" button.
The edition should be successful.
The error message shows as "Error:You must define a friendly URL for default language."