We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
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.
ENOENT: no such file or directory, lstat
After digging into the code, when url.parse is used, the path is still encoded which certainly do not please fs calls.
url.parse
fs
The text was updated successfully, but these errors were encountered:
Fix mozilla#8907: Decode URL to get correct path in node_stream.
e4c09c7
Merge pull request #8928 from mukulmishra18/decode-file-path
2aac994
Fix #8907: Decode URL to get correct path in node_stream.
4de50e9
Merge pull request mozilla#8928 from mukulmishra18/decode-file-path
8c215e7
No branches or pull requests
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: