brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.71k stars 2.31k forks source link

Some pdf do not open in browser on Linux #40878

Closed sirius-see closed 1 month ago

sirius-see commented 1 month ago

Description

Certain pdf links do not open in the browser, but allow only a download. Other pdf links open as expected.

Steps to reproduce

  1. Access this link and the Save Dialog opens.
  2. If instead I go to this link the pdf is shown.

Actual result

Only one pdf opens in browser.

Expected result

Both pdf open in browser.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave 1.69.162 Chromium: 128.0.6613.120 (Official Build) (64-bit) Revision e534755d4eb5ad363bb357735e614be1c6421e02 OS Linux

Channel information

Reproducibility

Miscellaneous information

Elsewhere comments about space or other special characters in the pdf filename affecting this behaviour are found.

rebron commented 1 month ago

Closing as works for me. The first link looks like the website intends for you to download the pdf file versus have it load in the browser which is the second link.

@sirius-see Let me know if you need me to explain further.

sirius-see commented 1 month ago

That's about the strangest rationale I ever heard for closing a bug "..because it works for me".

Please re-open or link to another open issue report and fix this because it doesn't work for me and many others. Happy it works for you.