0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 10:01:50 +01:00
gitea/routers
mrsdizzie 489c8a1478
Compare SSH_DOMAIN when parsing submodule URLs (#12753)
Right now we only compare the hostname from a submodule with the prefixURL it is viewed from to check if the submodule is hosted on the same Gitea instance. This adds an additional check to compare it against SSH_DOMAIN as well since the same Gitea instance might have a different hostname for SSH and if the submodule uses that hostname we should also detect that and link to the proper DOMAIN value.

Fixes #12747, #9756
2020-09-07 20:08:10 -04:00
..
admin [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
api/v1 Add better Swagger description and a example for GetArchive (#12743) 2020-09-06 12:23:47 -04:00
dev
events
org
private
repo Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
routes
user
utils
home.go
init.go
install.go
metrics.go
swagger_json.go