Thomas Gressly
Thomas Gressly
> Additionally, do you have the same problem when trying to access the PDF file here: https://www.dokuwiki.org/leaflet (which works fine for me) Yes, same problem with your PDF.
Seems to be an issue with Safari (at least on Macs). Tested on several machines with different macOS versions (from Catalina to Monterey 12.5). The black screen is 100% reproducible.
In my installation there is no `$data['csp']` in the abovementioned function and it still does not work: ``` sendFile($data['file'], $data['mime'], $data['download'], $data['cache'], $data['ispublic'], $data['orig']); ```
@virk In which file did you find that line?
> @tgressly you might be affected by a different bug. `$data['csp']` was [added 2020-10-14](https://github.com/splitbrain/dokuwiki/commit/6cda96e3cf806e272521e0e44b9592acb7d3b837) to `fetch.php`: > > https://github.com/splitbrain/dokuwiki/blob/8e8e73a7317718894743233168d39f27aec8ded2/lib/exe/fetch.php#L119 > > @virk Removing CSP is no solution. It was introduced...
@virk Just checked, I was using a version of 2020 via a docker image. (https://bitbucket.org/mprasil/docker_dokuwiki/src/master/Dockerfile, https://hub.docker.com/r/mprasil/dokuwiki). So, no, you're correct. Now I manually replaced the whole installation with the actual...
Thank you, @virk ! That works!
Same when the `#` character is anywhere in the filename.