I have a lot of PDFs (datasheets, schematics, etc.) in my wiki, and would like to display them in the browser window instead of starting a download.
I already tried to patch DokuWiki's fetch.php:
BUG: When opening larger files (~ > 1MB), the browser window freezes. I can close the window normally, and even use the back button. The PDF isn't displayed, and the browser window isn't updated any more (You can "smear" across with other windows. You know what i mean).
I'm using Firefox 126.96.36.199 and Adobe Reader 8.1.2 on WinXP SP3.
Everything's working fine if I use HTML links, so it must have something to do with fetch.php's delivery method.