Skip to content
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

PDF.js stopped working with spaces #27120

Closed
rico666 opened this issue May 26, 2021 · 3 comments
Closed

PDF.js stopped working with spaces #27120

rico666 opened this issue May 26, 2021 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@rico666
Copy link

rico666 commented May 26, 2021

Steps to reproduce

  1. current nextcloud 20.0.10
  2. save some PDF file with space in its name
  3. try to look at it.

Expected behaviour

One should see the PDF file

Actual behaviour

error message

PDF.js Version 2.4.456 (build: 228a591c)
Nachricht: Missing PDF "...yaddayadda/Detail%2520some_file.pdf".

-> observe the %2520, in the original file it is a space
when I replace the space with an underscore, all is well.

did work up to now.

@rico666 rico666 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 26, 2021
@rico666
Copy link
Author

rico666 commented May 26, 2021

confirmed this is persisting and not transient by:

  • using with both chromium as well as Firefox and testing with various nextcloud users; Firefox was fresh with clean caches.
  • updating the underlying Debian
  • rebooting (you could say turning it off and on again)

Problem still there with files that provably worked in a previous version of nextcloud 20.0.7 or so (but not sure about the exact number).

@szaimen
Copy link
Contributor

szaimen commented May 26, 2021

This will be fixed with the next minor releases.

@szaimen szaimen closed this as completed May 26, 2021
@szaimen
Copy link
Contributor

szaimen commented May 26, 2021

Here a workaround: nextcloud/files_pdfviewer#381 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

2 participants