PDF Links will not open, result in "invalid or corrupted" warning

Description of the issue:
Several sites with PDF links result in “Invalid or corrupted PDF file” message instead of displaying or downloading the file.

On left-click, the error message appears beneath a red bar. On right-click to either open in a new tab or page, same. On right-click to download, a small file is downloaded which is also corrupted.

The files all have pdf extensions. The problem is unique to Brave (Chrome, Firefox, and Edge each open and/or download the files without issue).

Steps to Reproduce (add as many as necessary):

Here is an example that is not behind a pay wall

  1. Go to https://www.investecassetmanagement.com/south-africa/professional-investor/en-za/campaign-pages/cautious-managed-fund/
  2. Scroll to Quick Links on the bottom right.
  3. Left- or Right-click any of the PDF links to get the error.

Expected result:
Should open or download the file, but does not.

Reproduces how often:
Always.

Brave Version(about:brave):
Version 0.64.77 Chromium: 74.0.3729.169 (Official Build) (64-bit)

Reproducible on current live release (yes/no):
yes

Additional Information:
I deleted all extensions, but still have the issue.

Thank you for your assistance.

2 Likes

@ThufirHawat,
Thanks for reaching out to us!
This issue has actually already been fixed and is moving down the release pipeline:

Visiting the site you linked to in our Nightly builds (v0.68.10) and opening a PDF file displays the PDF in browser as intended.

You should see this fix reflected in an update in the near future – appreciate your patience.

1 Like

Thanks for reaching out.

We have just finished working on a new way of handling pdf files and I am pleased to inform you that we already fixed this issue. The changes are in our Nightly channel. You can install Nightly channel(0.68.x) and use side by side to Release channel(0.64.77 ) or you can simply wait till the changes are stabilized and propagate to Release channel.

The work has been done under https://github.com/brave/brave-browser/issues/3846.

1 Like

@btlechowski,
Jinx! :slight_smile:

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.