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
@krzyc this looks decent enough to me to have a deeper look. Can you create a pull request with your changes + the test and we will discuss there how to proceed?
@k00ni I have provided PR and I am awaiting suggestions. It works for my case (extracting binary Contents from Sig object). All tests are passing. Edited And there are more possible problems with round square parsing, I have added another test cases, which I think should pass.
k00ni
linked a pull request
Jun 5, 2024
that will
close
this issue
Description:
Closing round bracket encoded in hexadecimal format breaks parsing - string is truncated.
String is truncated here:
pdfparser/src/Smalot/PdfParser/Element/ElementString.php
Lines 62 to 74 in 4b86c66
Because this is my first contact with pdfparser I probably have no competence to provide a safe patch.
Test
Expected output & actual output
Test should pass, but returns:
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'()'
+'('
The text was updated successfully, but these errors were encountered: