Skip to content

Add archive as valid web access format

Jaime Martinez requested to merge 28978-fix-assets-redirect-to-login into master

What does this MR do?

Adds archive as valid web access format per #28978 (comment 334624601). This allows assets stored as archives being accessed using an access token programatically.

It's worth mentioning that it is possible to use the Repository API to get a file as archive instead. This is more of a convenient way to download release archives. I'll leave this to the maintainers and security team judgement to whether we need this or not.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #28978 (closed)

Edited by Jaime Martinez

Merge request reports