Allow creating files/directories with space in the name using the web interface
Hello,
I'm wondering why files and directories created using the web interface can't have a space in it.
This blocked us as someone tried to create a directory without any space in its name, but there is a space in a parent directory.
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Luke "Jared" Bennett Added ~12980 repository labels
Added ~12980 repository labels
- Author
Hi, any news about this bug?
4 - username-removed-419655 added ~480950 label
added ~480950 label
- username-removed-419655 mentioned in issue #26540 (closed)
mentioned in issue #26540 (closed)
Also stumbled across this at my organization .. even if whitespaces are bad practice for files / folders a fix would be greatly appreciated.
Tested with Gitlab CE
- GitLab 8.16.6
- GitLab Shell 4.1.1
- GitLab Workhorse v1.3.0
- GitLab API v3
- Git 2.10.2
- Ruby 2.3.3p222
- Rails 4.2.7.1
- PostgreSQL 9.2.18
Edited by username-removed-1134535hello, is this issue out of interest?
- username-removed-419655 added reproduced on GitLab.com label
added reproduced on GitLab.com label
It is not out of interest. We have same problem.
- Developer
This is possible via the CLI. I guess it should be possible via the web interface too.
We have run into this issue using the HTTP API. Is this being worked on? Or is there a workaround?
This makes GitLab unusable for us right now.
Edited by username-removed-1271963No reason it can't have a space, as far as I know. I think for the Web UI it might be a simple matter of relaxing the constraint. /cc: @mydigitalself
- Mike Bartlett changed milestone to %9.4
changed milestone to %9.4
- username-removed-477532 mentioned in issue #26187 (moved)
mentioned in issue #26187 (moved)
- Developer
- Maintainer
@mydigitalself No, the validation is in the backend.
The validation should be in Git, not the gitlab backend, which is clearly far more restrictive than git itself and is causing problems because of it. If the OS can support the character, and git itself doesn't complain, gitlab has no business suddenly imposing its own opinion.
Edited by username-removed-815939- username-removed-117638 mentioned in merge request !12608 (merged)
mentioned in merge request !12608 (merged)
- Douwe Maan closed via merge request !12608 (merged)
closed via merge request !12608 (merged)
- Douwe Maan mentioned in commit 793ce6fe
mentioned in commit 793ce6fe
- username-removed-1413690 mentioned in issue #23459 (closed)
mentioned in issue #23459 (closed)
- username-removed-419655 mentioned in issue #35278 (closed)
mentioned in issue #35278 (closed)