0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 02:14:06 -05:00
forgejo/routers/repo
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
..
activity.go
attachment.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
blame.go Ensure BlameReaders close at end of request (#12102) 2020-07-01 14:01:17 +01:00
branch.go Handle more pathological branch and tag names (#11843) 2020-06-11 19:49:47 -04:00
commit.go Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
compare.go Fix typos (#12542) 2020-08-20 09:53:06 -05:00
download.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
editor.go Do not disable commit changes button on repost (#12644) 2020-08-29 17:32:46 -04:00
editor_test.go
http.go Set setting.AppURL as GITEA_ROOT_URL environment variable during pushes (#12752) 2020-09-06 23:53:42 -04:00
issue.go [BugFix] Fix comment broken issue ref dependence (#12651) 2020-09-04 09:36:56 +08:00
issue_dependency.go
issue_label.go Move jquery-minicolors to npm/webpack (#12305) 2020-07-29 14:44:23 -04:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
main_test.go
middlewares.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
milestone.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
projects.go Hide 'New Project board' button for users that are not signed in (#12547) 2020-08-22 02:58:59 -04:00
pull.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
pull_review.go Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
release.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
release_test.go
repo.go Set context for running CreateArchive in to that of the request (#12555) 2020-08-28 09:55:12 +03:00
search.go
setting.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
setting_protected_branch.go Prevent merge of outdated PRs on protected branches (#11012) 2020-04-16 22:00:36 -03:00
settings_test.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
topic.go
view.go Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
webhook.go Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00
wiki.go Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
wiki_test.go