You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue with the TCPDF library when using the POST method to generate a PDF for inline viewing. While the inline viewing works correctly, clicking the download button results in an attempt to download PHP code, which subsequently fails.
Environment:
PHP Version: 7.4.30
TCPDF Library Version: 6.3.2
Expected Behavior:
The PDF should download correctly.
Actual Behavior:
In Chromium-based browsers, an attempt is made to download PHP code instead of the PDF, resulting in a failure. However, the download works correctly in Firefox.
Additional Information:
The issue does not occur in my test environment, where the PHP version is 7.4.13, and the TCPDF library version is also 6.3.2.
The test environment allows downloading the PDF normally in all browsers.
Any guidance or suggestions on how to resolve this issue would be greatly appreciated.
Thank you for your help!
The text was updated successfully, but these errors were encountered:
Hello,
I am experiencing an issue with the TCPDF library when using the POST method to generate a PDF for inline viewing. While the inline viewing works correctly, clicking the download button results in an attempt to download PHP code, which subsequently fails.
Environment:
PHP Version: 7.4.30
TCPDF Library Version: 6.3.2
Expected Behavior:
The PDF should download correctly.
Actual Behavior:
In Chromium-based browsers, an attempt is made to download PHP code instead of the PDF, resulting in a failure. However, the download works correctly in Firefox.
Additional Information:
Any guidance or suggestions on how to resolve this issue would be greatly appreciated.
Thank you for your help!
The text was updated successfully, but these errors were encountered: