1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-24 14:02:34 +00:00
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
..
2020-07-17 18:15:12 +03:00
2020-04-05 07:20:50 +01:00
2019-06-12 15:41:28 -04:00
2020-09-05 11:45:10 -04:00
2018-11-04 22:20:00 -05:00
2019-06-12 15:41:28 -04:00
2020-09-07 23:05:08 +08:00
2019-11-22 08:03:45 +00:00
2019-03-08 11:42:50 -05:00
2020-08-27 22:47:17 -04:00
2019-08-17 13:10:17 +03:00
2020-04-05 07:20:50 +01:00