Error trying to view PDFs with special characters

Hello,

I’ve run into a problem trying to view PDF files on NextCloud. If I upload a PDF with a non [A-z_] character in it, the PDF view gives me an error when trying to view the document. I can download the file and view it just fine using the desktop client or via the main NextCloud web app. But if I try and view it, I get the this error:

If I rename the file so it only has [A-z_] characters then I can view it fine.

I can view images with special characters in them just fine so it seems to be specifically about the PDF viewer.

  • NextCloud Version: 21.0.2 (via official NextCloud Docker image)
  • Operating system and version: Debian stable

I am getting this recurring message in the logs but it doesn’t seem to be associated with the above issue:

Error: Cannot modify header information - headers already sent by (output started at /var/www/html/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/html/apps/dav/lib/Connector/Sabre/File.php#691

I haven’t made any changes to the config.php other than adding:

'skeletondirectory' => '',

Any help would be much appreciatedl.

Thanks,
Adam.

Please use the search function of the forum FIRST before opening an new thread. there are number of threads related this problem e.g.:

Thanks for the link, very helpful.