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

Properly deliver content-disposition when downloading in DAV from browser #25254

Closed
wants to merge 1 commit into from

Conversation

PVince81
Copy link
Contributor

Steps to reproduce:

  1. Upload a text file
  2. For the text file, click on the "Download" link in the file row

Before: text file opened directly inline in browser
After: text file properly downloaded

Not sure why we have that $this->downloadAttachment property that is false sometimes so I left it and relied on the "downloadSecret" parameter.

Please review @owncloud/filesystem @rullzer @icewind1991

@PVince81 PVince81 added this to the 9.1-current milestone Jun 23, 2016
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @DeepDiver1975, @rullzer and @LukasReschke to be potential reviewers

@PVince81
Copy link
Contributor Author

Hmmm that's really weird. Today I'm not able to reproduce the original issue and downloadAttachment is true. Must have been a weird side effect of some other testing.

@PVince81
Copy link
Contributor Author

Okay, NOW I get it.

When setting "debug" => true in the config, it removes downloadAttachment.

Why ? @rullzer

@DeepDiver1975
Copy link
Member

When setting "debug" => true in the config, it removes downloadAttachment.

as soon as debug is set to true we are loading sabre's browser plugin for easy debugging of dav - might be related ....

@PVince81
Copy link
Contributor Author

Hmm not sure. Anyway I think this PR is obsolete.

@PVince81 PVince81 closed this Jun 28, 2016
@PVince81 PVince81 deleted the dav-properlydownloadasattachment branch June 28, 2016 08:01
@PVince81
Copy link
Contributor Author

Another theory is that @rullzer maybe wanted to be able to see the download call in the network console and didn't know that in Chromium the network console will not reset/clear even for downloads.

@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants