Fix project import from remote to import from S3
Currently, `Import::GitlabProjects::CreateProjectFromRemoteFileService` validates: 1. The file size based on the `Content-Length` header, which S3 doesn't returb on `head` requests; 1. The file content type, which S3 use `application/x-tar` instead of `application/gzip` for a `tar.gz`; Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/337230 Changelog: fixed MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75170
Showing
Please register or sign in to comment