-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
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 <[email protected]>
* 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)
Backport #30885 Fix #30883 Fix #29591 Co-authored-by: KN4CK3R <[email protected]>
Follow #27011 Follow #30885 --------- Co-authored-by: silverwind <[email protected]> Co-authored-by: Giteabot <[email protected]>
Follow go-gitea#27011 Follow go-gitea#30885 --------- Co-authored-by: silverwind <[email protected]> Co-authored-by: Giteabot <[email protected]>
Backport #30890 by wxiaoguang Follow #27011 Follow #30885 Co-authored-by: wxiaoguang <[email protected]> Co-authored-by: silverwind <[email protected]>
) 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 <[email protected]>
…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 <[email protected]>
) (#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 <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
Fix #30883
Fix #29591