]> source.dussan.org Git - gitea.git/commit
Double check CloneURL is acceptable (#20869) (#20892)
authorzeripath <art27@cantab.net>
Sun, 21 Aug 2022 14:42:48 +0000 (15:42 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Aug 2022 14:42:48 +0000 (09:42 -0500)
commit9e8b1c663041e8b503d57df64dfbbf0b51a720f4
tree427b216d6f54e018e949aee183104057eb5f3337
parenteee51d8366dc56dfa816571a7c7a1ef4981b25e2
Double check CloneURL is acceptable (#20869) (#20892)

Backport #20869

Some Migration Downloaders provide re-writing of CloneURLs that may point to
unallowed urls. Recheck after the CloneURL is rewritten.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
services/migrations/dump.go
services/migrations/gitea_uploader_test.go
services/migrations/migrate.go