https://bugs.documentfoundation.org/show_bug.cgi?id=66580

--- Comment #49 from Tomaz Vajngerl <[email protected]> ---
(In reply to Dave Gilbert from comment #46)
> How do people feel about just going with Original.oXX (with oXX being
> checked for sanity) until PDFium is improved?

Sure, it should be safe to rely on the filename only.

BTW you can still cheaply check if the byte stream is ODF too by checking the
stream's magic bytes. You will need to change PDFAttachment::getFile to only
get a limited number of bytes of the attachment, not the whole attachment.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to