-
-
Notifications
You must be signed in to change notification settings - Fork 238
Description
Both of these issues have been due to windows handling paths to unix:
- How to add layouts into folders #533 Not able to do nested layouts on windows (fixed in v6.42.2)
- slash vs backslash error on Windows with Docpad generate --env static #518 URLs have backslashes instead of forward slashes + paths not joined correctly (fixed in v6.42.1)
However, it seems that this is going to be an ongoing thing, and to accomplish importer support #500 we will need a way to normalize this across different environments. For instance, syncing the database between a windows and mac environment will need a consistent storage format for the paths in the database.
As such, we will need to make the decision to only allow forward-slashes, and to convert back-slashes to forward slashes. This will mean we will also have to drop support for paths that genuinely have a back-slash in them, this should be such a small edge case, it is not worth consideration.
Can I please get some feedback on this move, as I'm ready to implement the change now.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.