Makes sure the input path has exactly 1 slash at the beginning. Multiple slashes will get merged into one. If there is no slash it will be added.
Path to check.
The potentially changed path.
Makes sure the input path has exactly 1 slash at the beginning. Multiple slashes will get merged into one. If there is no slash it will be added.