Skip to content

When sharing a folder, the top download button does not work for a single file #5651

@tmortagne

Description

@tmortagne

Checklist

Version

2.53.0

Description

There seems to be an escaping bug in the top bar menu Download button in a shared folder view when selecting a single file.

Image

The Download button works fine when selecting several file work fine and downloading a zip for example.

If you double-click the file and then use the Download button in the middle of the screen, it works fine.

It also does not seem to impact the main view top bar Download button, only the shared folder view is, apparently.

I'm not sure when this bug started exactly, but it's definitely older than 2.53.0.

What did you expect to happen?

The top bar menu Download button leads to https://files.mortagne.org/api/public/dl/FAIalCgD/1260831.png.

What actually happened?

The top bar menu Download button leads to https://files.mortagne.org/api/public/dl/FAIalCgD%2F1260831.png.

Reproduction Steps

  • select a folder
  • click the Share button from the top bar
  • use the Copy to clipboard button to get the link (you are getting something like https://files.mortagne.org/share/FAIalCgD, which should work for 1 year if you want to see it in action)
  • go to the URL
  • select a file
  • click the Download button from the top bar menu

Files

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions