![]() - Add a new function `IsPushMirrorURLAllowed` that will allow `ssh://` url and make the existing `IsMigrateURLAllowed` not allow such URLs anymore. - Resolves forgejo/forgejo#6960 - Existing integration tests make sure that SSH urls are still allowed for the push mirror feature and added unit test to ensure that `IsMigrateURLAllowed` no longer allows SSH urls. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7004 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz> |
||
---|---|---|
.. | ||
avatar.go | ||
collaboration.go | ||
default_branch.go | ||
deploy_key.go | ||
git_hooks.go | ||
lfs.go | ||
main_test.go | ||
protected_branch.go | ||
protected_tag.go | ||
runners.go | ||
secrets.go | ||
setting.go | ||
settings_test.go | ||
variables.go | ||
webhook.go |