changed is_pdf query to search for PDFs magic number in the first 1024 bytes. reference: http://www.decalage.info/file_formats_security/pdf [Main security issues -> Parser "flexibility"]