gitea: infinite loop on seeing a folder on Windows

/cc @ethantkoenig Sorry for bothering you again. I tried to fix it, but couldn’t.

To reproduce:

  • Have latest Gitea master on Windows
  • Import Gitea source code to the instance
  • Navigate to the routers/ folder in the web UI. Browser waits forever, theres a loop on the server

To debug I added the following line after this line:

fmt.Println(path)

Here’s the output log

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

@ethantkoenig 🎉 🚀 💯 Congrats. It’s fixed now.

Here’s the log if you are curious. I visited Gitea’s root, then /routers/, and then /routers/api/v1/.

@ethantkoenig For visiting router/api/v1:

entryName: admin
entryName: convert
entryName: misc
entryName: org
entryName: repo
entryName: user
entryName: utils
entryName: api.go
TreePath: routers/api/v1

I’m away from my computer, but will check as soon as possible.