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

Error opening file containing space in file name #27181

Closed
seyfeb opened this issue May 27, 2021 · 1 comment
Closed

Error opening file containing space in file name #27181

seyfeb opened this issue May 27, 2021 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@seyfeb
Copy link

seyfeb commented May 27, 2021

Steps to reproduce

  1. Add file containing a space in the file name, e.g., space name.pdf.
  2. Navigate to directory in the files app and try to open
  3. Observe error Missing PDF file.

Expected behaviour

File should be opened.

Actual behaviour

Error message opening file

PDF.js v2.5.207 (build: 0974d6052)
Message: Missing PDF "https://.../remote.php/dav/files/.../space%2520name.pdf".

The space seems to be converted to %2520 instead of %20.

Server configuration

The current nextcloud docker image 21.0.2-apache.

Database: postgres

Nextcloud version: 21.0.2

Signing status: No errors have been found.

Client configuration

Browser: Vivaldi, FF

Browser log

GET https://.../remote.php/dav/files/.../space%2520name.pdf
Status 404
Not Found
@seyfeb seyfeb added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 27, 2021
@solracsf
Copy link
Member

Duplicate of nextcloud/files_pdfviewer#381

@solracsf solracsf marked this as a duplicate of nextcloud/files_pdfviewer#381 May 27, 2021
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