Description
- Gitea version: 1.11.3
- Git version: 2.25.1
- Operating system: Ubuntu 18.04
- Database:
- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Irrelevant
Description
Hey,
So I've encountered the issue few versions back where one of wiki files I had wasn't opening for me in the web browser. When I was clicking it - I was being redirected to the main page of the project's wiki. I left it for few months to sit there in hopes that it would get fixed eventually with some new version.
There were no error logs, at least not ones that would tell me right away what was wrong.
I've cloned the wiki by cloning the project-name.wiki.git
repo. I've noticed then that the file in question was named something like some file name.md
with spaces while all other files were hyphenated.
I've moved the file with git and added hyphens and it started working right away.
I'm not sure how this happened and when it stopped working as we weren't really checking out those wiki page in ages. Maybe it was imported from gogits.
Is there anything that can be done about it? Is this a problem with gitea or with my webserver?
What if someone creates a file manually in the wiki by committing it with name containing spaces - that would for sure break again. It's more convenient for me to edit wiki files directly in the repo, so I'm sure some people would like to do that as well.
Sorry for the lengthy message.
Cheers,
Furai