server/lib/private
Lukas Reschke 55fd0082aa Serve all files with a Content-Disposition of 'attachment' via WebDAV
As an additional security hardening it's sensible to serve these files with a Content-Disposition of 'attachment'. Currently they are served 'inline' and get a "secure mimetype" assigned in case of potential dangerous files.

To test this change ensure that:

- [ ] Syncing with the Desktop client still works
- [ ] Syncing with the Android client still works
- [ ] Syncing with the iOS client still works

I verified that the 1.8 OS X and iOS client still work with this change.
2015-03-26 20:01:05 +01:00
..
app Merge pull request #14495 from owncloud/update-mailmap-01 2015-03-26 17:17:18 +01:00
appframework Update license headers 2015-03-26 11:44:36 +01:00
archive Update license headers 2015-03-26 11:44:36 +01:00
assetic Update license headers 2015-03-26 11:44:36 +01:00
backgroundjob Update license headers 2015-03-26 11:44:36 +01:00
cache Update license headers 2015-03-26 11:44:36 +01:00
command Merge pull request #15129 from owncloud/version-command-bus 2015-03-26 19:55:13 +01:00
connector/sabre Serve all files with a Content-Disposition of 'attachment' via WebDAV 2015-03-26 20:01:05 +01:00
contacts Update license headers 2015-03-26 11:44:36 +01:00
db Merge pull request #14665 from owncloud/fileid-increment 2015-03-26 19:36:18 +01:00
diagnostics Update license headers 2015-03-26 11:44:36 +01:00
files Update license headers 2015-03-26 11:44:36 +01:00
group Update license headers 2015-03-26 11:44:36 +01:00
hooks Update license headers 2015-03-26 11:44:36 +01:00
http/client Update license headers 2015-03-26 11:44:36 +01:00
l10n Update license headers 2015-03-26 11:44:36 +01:00
legacy Update license headers 2015-03-26 11:44:36 +01:00
log Update license headers 2015-03-26 11:44:36 +01:00
mail Update license headers 2015-03-26 11:44:36 +01:00
memcache Update license headers 2015-03-26 11:44:36 +01:00
ocs Update license headers 2015-03-26 11:44:36 +01:00
preview Update license headers 2015-03-26 11:44:36 +01:00
repair Update license headers 2015-03-26 11:44:36 +01:00
route Update license headers 2015-03-26 11:44:36 +01:00
search Update license headers 2015-03-26 11:44:36 +01:00
security Update license headers 2015-03-26 11:44:36 +01:00
session Update license headers 2015-03-26 11:44:36 +01:00
setup Update license headers 2015-03-26 11:44:36 +01:00
share Update license headers 2015-03-26 11:44:36 +01:00
tagging Update license headers 2015-03-26 11:44:36 +01:00
template Update license headers 2015-03-26 11:44:36 +01:00
user Update license headers 2015-03-26 11:44:36 +01:00
activitymanager.php Update license headers 2015-03-26 11:44:36 +01:00
allconfig.php Update license headers 2015-03-26 11:44:36 +01:00
api.php Update license headers 2015-03-26 11:44:36 +01:00
app.php Update license headers 2015-03-26 11:44:36 +01:00
appconfig.php Update license headers 2015-03-26 11:44:36 +01:00
apphelper.php Update license headers 2015-03-26 11:44:36 +01:00
archive.php Update license headers 2015-03-26 11:44:36 +01:00
arrayparser.php Update license headers 2015-03-26 11:44:36 +01:00
avatar.php Update license headers 2015-03-26 11:44:36 +01:00
avatarmanager.php Update license headers 2015-03-26 11:44:36 +01:00
backgroundjob.php Update license headers 2015-03-26 11:44:36 +01:00
cache.php Update license headers 2015-03-26 11:44:36 +01:00
config.php Update license headers 2015-03-26 11:44:36 +01:00
contactsmanager.php Update license headers 2015-03-26 11:44:36 +01:00
databaseexception.php Update license headers 2015-03-26 11:44:36 +01:00
databasesetupexception.php Update license headers 2015-03-26 11:44:36 +01:00
datetimeformatter.php Update license headers 2015-03-26 11:44:36 +01:00
datetimezone.php Update license headers 2015-03-26 11:44:36 +01:00
db.php Update license headers 2015-03-26 11:44:36 +01:00
defaults.php Update license headers 2015-03-26 11:44:36 +01:00
eventsource.php Update license headers 2015-03-26 11:44:36 +01:00
filechunking.php Update license headers 2015-03-26 11:44:36 +01:00
fileproxy.php Update license headers 2015-03-26 11:44:36 +01:00
files.php Merge pull request #14495 from owncloud/update-mailmap-01 2015-03-26 17:17:18 +01:00
forbiddenexception.php Update license headers 2015-03-26 11:44:36 +01:00
geo.php Update license headers 2015-03-26 11:44:36 +01:00
group.php Update license headers 2015-03-26 11:44:36 +01:00
helper.php Update license headers 2015-03-26 11:44:36 +01:00
hintexception.php Update license headers 2015-03-26 11:44:36 +01:00
hook.php Merge pull request #15129 from owncloud/version-command-bus 2015-03-26 19:55:13 +01:00
httphelper.php Update license headers 2015-03-26 11:44:36 +01:00
image.php Update license headers 2015-03-26 11:44:36 +01:00
installer.php Update license headers 2015-03-26 11:44:36 +01:00
json.php Update license headers 2015-03-26 11:44:36 +01:00
l10n.php Update license headers 2015-03-26 11:44:36 +01:00
largefilehelper.php Update license headers 2015-03-26 11:44:36 +01:00
log.php Update license headers 2015-03-26 11:44:36 +01:00
mimetypes.list.php Update license headers 2015-03-26 11:44:36 +01:00
naturalsort.php Update license headers 2015-03-26 11:44:36 +01:00
naturalsort_defaultcollator.php Update license headers 2015-03-26 11:44:36 +01:00
navigationmanager.php Update license headers 2015-03-26 11:44:36 +01:00
needsupdateexception.php Update license headers 2015-03-26 11:44:36 +01:00
notsquareexception.php Update license headers 2015-03-26 11:44:36 +01:00
ocs.php Update license headers 2015-03-26 11:44:36 +01:00
ocsclient.php Update license headers 2015-03-26 11:44:36 +01:00
preview.php Update license headers 2015-03-26 11:44:36 +01:00
previewmanager.php Update license headers 2015-03-26 11:44:36 +01:00
repair.php Merge pull request #14665 from owncloud/fileid-increment 2015-03-26 19:36:18 +01:00
repairexception.php Update license headers 2015-03-26 11:44:36 +01:00
repairstep.php Update license headers 2015-03-26 11:44:36 +01:00
response.php Update license headers 2015-03-26 11:44:36 +01:00
search.php Update license headers 2015-03-26 11:44:36 +01:00
server.php Update license headers 2015-03-26 11:44:36 +01:00
serviceunavailableexception.php Update license headers 2015-03-26 11:44:36 +01:00
setup.php Update license headers 2015-03-26 11:44:36 +01:00
subadmin.php Update license headers 2015-03-26 11:44:36 +01:00
systemconfig.php Update license headers 2015-03-26 11:44:36 +01:00
tagmanager.php Update license headers 2015-03-26 11:44:36 +01:00
tags.php Update license headers 2015-03-26 11:44:36 +01:00
template.php Update license headers 2015-03-26 11:44:36 +01:00
templatelayout.php Update license headers 2015-03-26 11:44:36 +01:00
tempmanager.php Update license headers 2015-03-26 11:44:36 +01:00
updater.php Update license headers 2015-03-26 11:44:36 +01:00
urlgenerator.php Update license headers 2015-03-26 11:44:36 +01:00
user.php Update license headers 2015-03-26 11:44:36 +01:00
util.php Update license headers 2015-03-26 11:44:36 +01:00
vobject.php Update license headers 2015-03-26 11:44:36 +01:00