Wiki pages with colons in title should display a warning message
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Steps to reproduce
- create wiki page with colon in title
- clone on Windows
Example Project
https://gitlab.com/ykahveci/wiki-colon-bug-test
What is the current bug behavior?
$ git clone https://gitlab.com/ykahveci/wiki-colon-bug-test.wiki.git
Cloning into 'wiki-colon-bug-test.wiki'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 43 (delta 7), reused 16 (delta 7), pack-reused 27
Receiving objects: 100% (43/43), 4.46 KiB | 1.12 MiB/s, done.
Resolving deltas: 100% (10/10), done.
error: invalid path 'foo/bar:baz.md'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
What is the expected correct behavior?
display warning message in UI when path contains colon
Edited by 🤖 GitLab Bot 🤖