craftercms / craftercms

Parent project for Crafter CMS. Issue tracking across all repositories and global builds.
GNU General Public License v3.0
282 stars 98 forks source link

PDFs do not preview correctly in authoring search #6700

Open russdanner opened 3 weeks ago

russdanner commented 3 weeks ago

Duplicates

Latest version

Describe the issue

When clicking the preview of a PDF in authoring search, the user is presented with a dump of the binary.

Steps to reproduce

Steps:

  1. Create a site in editorial
  2. Upload a PDF into static assets
  3. Search for the PDF in authoring search
  4. Click preview
  5. See the issue

Relevant log output

No response

Screenshots and/or videos

image