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).
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.