mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Ensure validation occurs on clone addresses too (#14994)
* Ensure validation occurs on clone addresses too Fix #14984 Signed-off-by: Andrew Thornton <art27@cantab.net> * fix lint Signed-off-by: Andrew Thornton <art27@cantab.net> * fix test Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix api tests Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		@@ -789,6 +789,8 @@ migrate.clone_address = Migrate / Clone From URL
 | 
			
		||||
migrate.clone_address_desc = The HTTP(S) or Git 'clone' URL of an existing repository
 | 
			
		||||
migrate.clone_local_path = or a local server path
 | 
			
		||||
migrate.permission_denied = You are not allowed to import local repositories.
 | 
			
		||||
migrate.permission_denied_blocked = You are not allowed to import from blocked hosts.
 | 
			
		||||
migrate.permission_denied_private_ip = You are not allowed to import from private IPs.
 | 
			
		||||
migrate.invalid_local_path = "The local path is invalid. It does not exist or is not a directory."
 | 
			
		||||
migrate.failed = Migration failed: %v
 | 
			
		||||
migrate.lfs_mirror_unsupported = Mirroring LFS objects is not supported - use 'git lfs fetch --all' and 'git lfs push --all' instead.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user