Skip to content

PDF URL metadata saved incorrectly #16280

@noahblakesmith

Description

@noahblakesmith

Sample PDF

Mozilla privacy agreement: https://static.mozilla.com/moco/en-US/pdf/mozilla_privacypolicy.pdf

Configuration

  • Mozilla Firefox 112.0 (64-bit)
  • macOS Ventura 13.3.1 (22E261)
  • pdf.js version: built-in PDF viewer

Reproduce the problem

Open PDF link using pdf.js viewer in browser, and save to computer.

save_pdf

Expected behavior and what went wrong

PDF metadata attribute kMDItemWhereFroms is incorrect. For comparison, the macOS default viewer, Preview, saves the PDF metadata correctly from Firefox, so I believe the issue is specific to pdf.js.

metadata_comparison

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions