Wiki not routable if file name consists of spaces. #10732
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
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 likesome 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
The text was updated successfully, but these errors were encountered: