Affected Function acquire_structure (sapp/src/PDFUtilFnc.php)
I found PDF file with space in the version number, before \r\n
This caused PDF version checking to break.
I would like to suggest trimming the $pdf_version variable.
example, there is space after "2":
"%PDF-1.2 \r\n......"
Affected Function acquire_structure (sapp/src/PDFUtilFnc.php) I found PDF file with space in the version number, before \r\n This caused PDF version checking to break. I would like to suggest trimming the $pdf_version variable.
example, there is space after "2": "%PDF-1.2 \r\n......"