You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.
Attach (recommended) or Link to PDF file
Example.pdf
Web browser and its version
Firefox 134.0
Operating system and its version
Linux 64
PDF.js version
Firefox 134 embedded viewer
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
python3 -m http.server
localhost:8000/Example.pdf 1 GET works as expected
127.0.0.1:8000/Example.pdf 1 GET works as expected
192.168.1.128:8000/Example.pdf 1 GET + 2 Bad requests with binary info.
pcurl:8000/Example.pdf 1 GET + 2 Bad requests with binary info.
What is the expected behavior?
Web server should receive a single GET for the PDF file
What went wrong?
Server receives two additional Bad requests with binary information whenever a URL or IP different from localhost or 127.0.0.1 is used.
When localhost address is used:
The Bad requests include binary information I have been unable to identify
When ip address or pc url name is used:
Link to a viewer
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: