Skip to content

Allow pdf files to be opened on browser

Felipe Artur requested to merge issue_7105 into master

What does this MR do?

When clicking on pdf attachment links, open the file on browser instead of downloading.

Workhorse does not allow inline pdf files. There is a merge request to take care of it: gitlab-workhorse!446 (merged)

related to #7105 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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
Edited by Justin Farris

Merge request reports