-
Notifications
You must be signed in to change notification settings - Fork 42
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
Cannot open PDF inside shared folders #305
Comments
Hi, same Problem here, but I notice it tries a Auth Call to our SAML Provider, but that one gets suppresed by the browser because of CSP. Opening the same PDF in OnlyOffice from the context Menu does work finde and I do not see such a call there. |
Guess it is the same Issue as in #286 |
Yes, you're correct. Didn't see that bug. But for me this only appeared in 20.0.7 |
Same here. |
Same problem here, since update to 20.0.7 |
cc @skjnldsv |
Same here |
Same here. |
+1 |
This is the same bug than here : #207 |
The problem is that the URL that is fetched by the PDF viewer appears to be URL encoded like:
Where it should be:
And the server responds with a 302 redirect to the login page. I am not familiar with the code base, but I'm trying to trace where the URL is generated. Maybe this will help someone else though. |
Same here. I get this error on Shared PDF Viewing ONLY:
|
It looks like a fix is in progress in #309 |
fix in #319 |
Tahnks for fixing this bug. Is it possible to get the app released as an update any time soon? People are shouting at me all the time because they don't understand how to download a pdf. |
Describe the bug
A publicly shared PDF inside a folder cannot be opened in the viewer. It says
Invalid or corrupted PDF file
To Reproduce
Steps to reproduce the behavior:
Expected behavior
File can be viewed
Screenshots
File cannot be viewed
** Platform **
everywhere
Browser log
Additional context
It is fine to share a single PDF. A single PDF can be opened just fine. This only happens for PDF files that are in a shared folder.
This happened immediately after the 20.0.7 update.
First posted here: nextcloud/viewer#764
The text was updated successfully, but these errors were encountered: