Closed MatthiasValvekens closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
79b64d7
) 98.13% compared to head (ba28b83
) 98.14%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Description of the changes
Compliance point: nulls should be treated equivalently to missing entries in dictionaries (not in arrays, though!) per the processor requirements in the PDF spec.
Issue #261 was a symptom of this, and is addressed by this fix (in nonstrict mode only; pyHanko deliberately does not substitute nulls for unresolvable references in strict mode, even though that is what the letter of the spec requires).
Checklist
Please go over this checklist to increase the chances of your PR being worked on in a timely manner. Deviations are allowed with proper justification (see previous section).
For bug fixes (delete if not applicable)