-
Notifications
You must be signed in to change notification settings - Fork 5
slash in page name
This page was created in GitHub's Web-UI.
- page name:
slash/in page name - filename:
slash-in-page-name.md
I wanted to test if using a slash in the page name would (could) be a means of creating a subfolder. It didn't -- page name simply got sanitized.
I also carried a similar test with backslash, and created a page in GitHub's Web-UI:
- page name:
backslash\in page name - filename:
backslash\in-page-name.md
But it created a file that caused problems in Window:
GIT ERROR MESSAGE: unable to create file backslash\in-page-name.md (No such file or directory)
So, I had to destroy the page on the Wiki, else it would have impeded maintaining the Wiki locally.
This didn't come as a surprise since it is mentioned in GitHub's Help:
Don't use the following characters in your wiki page's titles:
\ / : * ? " < > |. Users on certain operating systems won't be able to work with filenames containing these characters.
But this experiment showed that the Wiki Web-UI sanitizes the forward-slash, but for some reasons didn't sanitize the backslash.