Kitsu entity names allow spaces but Ayon does not.
We have a big project we want to sync where Tasks has spaces such as "Scene Prep" - this failed on ayon-kitsu sync throwing a validation error (name does not match regex) on the first failure to create a task or folder and stopping the sync.
This fix sanitises the Kitsu name before creating a folder or task, swapping underscores for spaces and removing any special characters.
Kitsu entity names allow spaces but Ayon does not.
We have a big project we want to sync where Tasks has spaces such as "Scene Prep" - this failed on ayon-kitsu sync throwing a validation error (name does not match regex) on the first failure to create a task or folder and stopping the sync.
This fix sanitises the Kitsu name before creating a folder or task, swapping underscores for spaces and removing any special characters.