1
0
Fork 0
forgejo/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 Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Move jquery-minicolors to npm/webpack (#12305) 2020-07-29 14:44:23 -04:00
private Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 2020-08-30 08:24:39 +01:00
repo Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
routes Hide 'New Project board' button for users that are not signed in (#12547) 2020-08-22 02:58:59 -04:00
user [API] Delete Token accept names too (#12366) 2020-08-28 11:09:33 +03:00
utils Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
home.go Show 2FA info on Admin Pannel: Users List (#12515) 2020-08-20 09:53:49 +08:00
init.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
install.go models: fix xorm variable clobber (#12231) 2020-07-13 09:58:55 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00