Open benjaminfrank opened 3 years ago
So, as far as I can tell everything is working, except for the contenxt-disposition header, and that causes the file to not display properly. I'm getting normal behavior over here when adding files with umlauts and filename format enabled. Let's see...
Also, there's an option in the web settings to switch the PDF viewer. Could you try that please?
sorry, didnt see your edit. updated to 1.4 but the problem remains: thumbnail is there, PDF not. Switching the PDF viewer fixes the issue and the PDF is displayed properly.
I was about to open a feature request for this. IMO it would be nice if the filename on disk would just be using the ASCII charset - maybe even without special characters.
Describe the bug I though I read about this somewhere already but could not find an issue via search hence opening a new one.
Filenames with umlauts prevent the processed file from being displayed. In my case setting
PAPERLESS_FILENAME_FORMAT={created_year}/{correspondent}/{title}
caused the bug to appear. The file does exist though because if I remove the umlaut from thetitle
the file displays as expected. The issue also only appears when the consumed document contains an umlaut. If I changetitle
to contain the umlaut it still displays the PDF. In the second screenshot the two files are from the target folder where paperless-ng stores the processed PDFs.FoÌrmlich.pdf
is the uploaded file that contained an umlaut.Förmlich 2.pdf
also contained an umlaut but I first removed it and then added it back. In this case the PDF was visible after removal as well as after adding it back viatitle
. Thumbnails work in both cases. Looking at the dubbing tools in FF I can see that the document is properly requested and also returned to the UI, see screenshot 3.To Reproduce Steps to reproduce the behavior:
PAPERLESS_FILENAME_FORMAT={created_year}/{correspondent}/{title}
Förmlich.pdf
edit
on new documentExpected behavior The PDF should be displayed.
Screenshots
![Screenshot 2021-03-28 at 12 36 10](https://user-images.githubusercontent.com/13114612/112749389-62444200-8fc2-11eb-9687-1b8e31f95f02.png)
Webserver logs
Relevant information
docker-compose.yml
,docker-compose.env
orpaperless.conf
.PAPERLESS_FILENAME_FORMAT={created_year}/{correspondent}/{title}