Skip to content

Normalize paths between unix and windows environments #537

@balupton

Description

@balupton

Both of these issues have been due to windows handling paths to unix:

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions