-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix duplicate sub-path for avatars #31365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It's not clear to me what |
Also, I recommend adding a development section to app.ini, e.g. |
This option does belong to And it is not publicly documented, so we always have the chance to rename/move it in the future |
Is my understanding correct that this option routes single level sub-path Why even have it at all? Can't developers just configure a sub path using the documented options? |
Gitea was never able to do sub-path routing, it was never able to handle sub-path
Then you need to setup a separate reverse proxy like nginx. |
* giteaofficial/main: Fix JS error when creating new issue (go-gitea#31383) [skip ci] Updated translations via Crowdin Rename repo_model.SearchOrderByMap to repo_model.OrderByMap (go-gitea#31359) rm const do inline (go-gitea#31360) Allow downloading attachments of draft releases (go-gitea#31369) Fix duplicate sub-path for avatars (go-gitea#31365) [skip ci] Updated translations via Crowdin Add tag protection via rest api go-gitea#17862 (go-gitea#31295)
Fix #31361, and add tests
And this PR introduces an undocumented & debug-purpose-only config option:
USE_SUB_URL_PATH
. It does nothing for end users, it only helps the development of sub-path related problems.And also fix #31366
Co-authored-by: @ExplodingDragon