-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Refactor AppURL usage #30885
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
Refactor AppURL usage #30885
Conversation
Maybe we should update the nginx and other reverse proxy documentation to ask a header, otherwise some of them may not work. |
I think it could be done later. The reasons are:
|
To address the concern of "what about end users do not have their reverse proxy configured": -> Check if reverse proxy is correctly configured #30890 |
Fix go-gitea#30883 Fix go-gitea#29591 --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
* giteaofficial/main: [skip ci] Updated translations via Crowdin Apply to become a maintainer (go-gitea#30884) Refactor AppURL usage (go-gitea#30885) Move database operations of merging a pull request to post receive hook and add a transaction (go-gitea#30805) Fix missing migrate actions artifacts (go-gitea#30874)
Follow go-gitea#27011 Follow go-gitea#30885 --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
) Resolves #31167. #30885 changed the behavior of `repo.AvatarLink()` where it can now take the empty string and append it to the app data URL. This does not point to a valid avatar image URL, and, as the issue mentions, previous Gitea versions returned the empty string. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
…gitea#31187) Backport go-gitea#31187 Resolves go-gitea#31167. go-gitea#30885 changed the behavior of `repo.AvatarLink()` where it can now take the empty string and append it to the app data URL. This does not point to a valid avatar image URL, and, as the issue mentions, previous Gitea versions returned the empty string. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
) (#31567) Backport #31187 Resolves #31167. #30885 changed the behavior of `repo.AvatarLink()` where it can now take the empty string and append it to the app data URL. This does not point to a valid avatar image URL, and, as the issue mentions, previous Gitea versions returned the empty string. Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Fix #30883
Fix #29591