Skip to content
This repository was archived by the owner on Mar 22, 2019. It is now read-only.
This repository was archived by the owner on Mar 22, 2019. It is now read-only.

Wrong check for supported PDF versions #20

@tobiastom

Description

@tobiastom

Not sure if I do not understand the code correctly, or the error message was not updated accordingly, but this code is somehow misleading:

https://github.com/zendframework/ZendPdf/blob/master/library/ZendPdf/PdfParser/StructureParser.php#L359-L369

From what I see it checks for PDF versions greater then 0.9 and smaller then 1.6.1. The exception tells that only 1.4 is supported.

I just realized this because I wanted to open a PDF document with version 1.6 and it does not seem to be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions