Fixes #83218: We shorten the cnames as part of the sanitizing process, as geoserver doesn't seem to like long names, and we add a pretty long UUID, so it tended to broke.

Also, we don't resanitize if we detect an already clean text.
Merge pull request #93 from luisromangz/8.5-SNAPSHOT-83218

Fixes #83218: We shorten the cnames as part of the sanitizing process, a...