decap-cms
decap-cms copied to clipboard
Path metadata does not support case sensitive paths
Hi, the path metadata handler throws an invalid path error if there are any capital letters in the path.
validateMetaField calls getProcessSegment which calls prepareSlug, which calls toLocaleLowercase. Because prepareSlug produces a different, lowercase string, there's a mismatch and invalid path is thrown.
I think folder names should be allowed to be capitalized. We use folder names in nested collections cosmetically, such that we need capitalization in folder names.
Let me know if any more info from the template is needed.