-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Use Request.URL.RequestURI() for fcgi #14314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are mentions to fcgi in this diff?
The server configured with fcgi cannot get any avatar / repo-avatar since v13.0 (returned 404), because |
It's v1.14 and the master branch. v1.13 hasn't introduce chi. So only storagehandler and example need to be backport but not chi part. |
make lg-tm work |
please send backport |
* master: Use Request.URL.RequestURI() for fcgi (go-gitea#14312) (go-gitea#14314) Update Link [skip ci] Updated translations via Crowdin Kd/add bountysource (go-gitea#14323)
Closes #14312
Since #9473, new usages of
Request.RequestURI
seems to have added, which yields empty string on fcgi protocol.This commit rewrites current usages of
Request.RequestURI
toRequest.URL.RequestURI()
.