Skip to content

Support 303 redirects when downloading via CommandLineUtil

What does this MR do and why?

As discussed in !80700 (comment 877858302), we've recently switched to using Gitlab::HTTP to minimize security risk associated with Gitlab::ImportExport::CommandLineUtil. The redirection behaviour seems a little different so I think we should match it by adding 303 to the list of redirects we follow just in case. Please see !83066 (comment 879263086) for more detail.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to !80700 (merged)

Edited by Sincheol (David) Kim

Merge request reports