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

When closing the PDF viewer it tries to load the current folder as PDF #9309

Closed
JammingBen opened this issue Jun 28, 2023 · 0 comments · Fixed by #9334
Closed

When closing the PDF viewer it tries to load the current folder as PDF #9309

JammingBen opened this issue Jun 28, 2023 · 0 comments · Fixed by #9334
Labels
Priority:p4-low Low priority Type:Bug Something isn't working

Comments

@JammingBen
Copy link
Collaborator

Steps to reproduce

  1. Upload a PDF file
  2. Open the PDF file with the PDF viewer
  3. Close the PDF viewer via the button on the top right and check the network tab

A few requests are being made. This happens because the viewer tries to load the current folder as PDF. This is not an issue in most cases, however, there is one exception: Sharing the file via a public link and then opening the public link will instantly open the PDF viewer. Now when closing the viewer it will fail and break all possible redirects happening after (e.g. #9299).

@JammingBen JammingBen added Type:Bug Something isn't working Priority:p4-low Low priority labels Jun 28, 2023
@AlexAndBear AlexAndBear mentioned this issue Jul 3, 2023
10 tasks
grimmoc added a commit that referenced this issue Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p4-low Low priority Type:Bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant