New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base64.a85decode adobe flag incorrectly utilizes <~ as a marker causing error #70101
Comments
According to the PDF Spec http://www.adobe.com/devnet/pdf/pdf_reference.html section 7.4.3, Solution: do not require leading <~ for adobe=True. |
The proposed patch does stop requiring the leading <~, but still trims the first two characters off the data set. This will no doubt fail in cases where there is no leading marker. I think it will need to explicitly handle the case where the leading marker is there vs. not. |
Soren, for me, the page you link to is impossible to read as it blinks every second or so, something I have never seen before. Perhaps it is trying to forward to the actual reference. As near as I can tell, it just lists about 3 other documents and is not a reference in itself, and for me has no sections. Can you provide a better link, perhaps one that is more direct? |
Modified according to Serhiy's last comment. |
Is there any requirement for further modification or it can be accepted? |
Martin, Antoine, what would you say about this? |
3.patch looks good to me. |
New changeset ce5bf3290621 by Serhiy Storchaka in branch '3.5': New changeset 90d5473b8673 by Serhiy Storchaka in branch 'default': |
Thank you Soren for your report, thank you Swati for your patch, and thank you Martin for your review. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: