Skip to content

[Bug]: No content alert displayed when opening copy protected file #19173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mayconghizoni opened this issue Dec 5, 2024 · 0 comments · Fixed by #19177
Closed

[Bug]: No content alert displayed when opening copy protected file #19173

mayconghizoni opened this issue Dec 5, 2024 · 0 comments · Fixed by #19177
Labels

Comments

@mayconghizoni
Copy link

mayconghizoni commented Dec 5, 2024

Attach (recommended) or Link to PDF file

Protegido Contra Cópia.pdf

Web browser and its version

Google Chrome version 131.0.6778.85

Operating system and its version

Ubuntu 24.04.1 LTS

PDF.js version

4.9.124

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Open Pdfjs in your browser
  2. Attach a copy-protected pdf file

Protegido Contra Cópia.pdf

What is the expected behavior?

That the alert is not displayed or that it contains some information

What went wrong?

An alert is being displayed without information

Link to a viewer

No response

Additional context

Hello!

When I open a copy-protected file, an alert with no content is displayed in my browser. From what I could identify, the problem is in the pdf.sandbox.external.js file on line 130.

I currently use the lib as a dependency and not creating a fork just to remove this is not worth it for me.

Is this really a planned feature or really a bug? In versions 3.9 the problem did not occur.

Thank you for your attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants