Doc names with special characters
PathSegmentServiceDefault class the method
generatePathSegment has some logic to replace a doc name composed entirely of special characters (e.g.
-.,;?!:'-.,;?!:'-.,;?!:') with a random number, but then it allows the doc to be created anyway with the name as originally provided. Is there any particular reason one should preserve this functionality if overriding the default path segment service?
No there's no danger in changing this behavior. Nuxeo only does it to avoid ugly URLs with lots of escaped characters in the rare cases where documents have strange names without alphanumeric parts.