Skip to content

Fix ROOT_URL detection for URLs without trailing slash (#20502)#20503

Merged
wxiaoguang merged 3 commits into
go-gitea:release/v1.17from
wxiaoguang:backport-root-url-detection
Jul 27, 2022
Merged

Fix ROOT_URL detection for URLs without trailing slash (#20502)#20503
wxiaoguang merged 3 commits into
go-gitea:release/v1.17from
wxiaoguang:backport-root-url-detection

Conversation

@wxiaoguang

Copy link
Copy Markdown
Contributor

Backport #20502

some users visit "https://domain/gitea" while appUrl is "https://domain/gitea/", there should be no warning

@wxiaoguang wxiaoguang added type/bug topic/ui Change the appearance of the Gitea UI labels Jul 27, 2022
@wxiaoguang wxiaoguang added this to the 1.17.0 milestone Jul 27, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 27, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 27, 2022
@wxiaoguang wxiaoguang merged commit 39b2ede into go-gitea:release/v1.17 Jul 27, 2022
@wxiaoguang wxiaoguang deleted the backport-root-url-detection branch July 27, 2022 15:49
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants