-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Can not download multiple times from public page #19642
Comments
I'll have a look. CC @MorrisJobke who introduced the spinner recently |
It looks like public download doesn't set the magic cookie so we cannot know when the download started. From what I remember this used to work ? |
The cookie is only set in "files/ajax/download.php" while the public page goes through an app framework controller for the download. From reading the code it looks like this never could work, at least not since we have the controllers. |
@DeepDiver1975 not a regression. I just checked the git history and this feature has only be added in 8.2. I mistakenly thought that @MorrisJobke backported it |
Fix is here #19643 |
worked before and now it's broken -> regression for me |
Well, the cookie is not in 8.1 right, but in 8.1 you can press the dl button multiple times without a page reload |
fine |
Steps
Expected
Can press download again
Actual
Button is "disabled"

Works fine in 8.1
@PVince81 maybe something for you while you are in your JS phase 😉
The text was updated successfully, but these errors were encountered: