Login as admin
Click on the 'Sites' tool in the admin workspace
Enter 'abc def ghi' for the site id and a title of your choice.
Save the site.
You should get an error message about the site id being invalid.

Description

The SiteService allows creating sites containing spaces and other symbols, this can bring unexpected behaviors in some tools like SAK-40702 or SAK-40703.

We should validate the siteId and throw an exception if the siteId is not valid, it will be desirable to restrict the siteIds to not allow spaces or other symbols that can cause conflicts with URLs or tools.

The current validation is for resources, this implementation is deprecated and not valid anymore.