-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
ENOENT: no such file or directory, lstat #8907
Labels
Comments
mukulmishra18
added a commit
to mukulmishra18/pdf.js
that referenced
this issue
Sep 19, 2017
This was referenced Sep 19, 2017
timvandermeij
added a commit
that referenced
this issue
Sep 23, 2017
Fix #8907: Decode URL to get correct path in node_stream.
movsb
pushed a commit
to movsb/pdf.js
that referenced
this issue
Jul 14, 2018
movsb
pushed a commit
to movsb/pdf.js
that referenced
this issue
Jul 14, 2018
Fix mozilla#8907: Decode URL to get correct path in node_stream.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since #8712 was introduced, opening a local file with spaces generates an error when PDFJS is executed in an Node environment (Electron in my case).
Configuration:
Electron 1.7.5
Fedora 25
1.9.562
Steps to reproduce the problem:
file:///home/njakob/Foo%20Bar/document.pdf
What went wrong?
The error
ENOENT: no such file or directory, lstat
is raised.After digging into the code, when
url.parse
is used, the path is still encoded which certainly do not pleasefs
calls.The text was updated successfully, but these errors were encountered: