LDAPAccountManager / lam

LDAP Account Manager
https://www.ldap-account-manager.org
Other
429 stars 69 forks source link

Version 8.6: invalid PDF #290

Closed cosine-measurement-systems closed 8 months ago

cosine-measurement-systems commented 8 months ago

Using 8.6. When I create a PDF for a user the file is invalid (okular on Linux cannot open it). tried Firefox and Chromium. Opening the PDF file with a text editor shows that at the top some HTML text that probably does not belong there. I enclose a couple of images to show the problem. Giuseppe Screenshot from 2024-01-26 17-47-00 Screenshot from 2024-01-26 17-47-27

gruberroland commented 8 months ago

I was not able to reproduce this. Can you attach such a file? What is your operating system and PHP version?

cosine-measurement-systems commented 8 months ago

Hi, I now understand how I can reproduce the problem. We have LAM behind an Apache reverse proxy, and the problem occurs when the PDF is generated via the proxy interface. The problem appeared when we went from 8.2 to 8.6. So the problem is mine, not yours. If you have any advice as to what might have changed to cause this let me know. Giuseppe