nextcloud/lib/private
Vincent Petry 726a202cdb Fixed getLocalFile() condition for x-send-file
Until now, addSendfileHeader() was called even when no x-send-file
headers were set. Even though the method itself doesn't do anything,
a call to getLocalFile() was done and would trigger a full download
when using external storage.

Additionally, the storage resolution code is wrong and always
returns the local storage of the root filesystem, which caused the code to
be run anyway.

This commit fixes both issues.
2013-11-20 14:33:59 +01:00
..
appframework Merge pull request #5458 from owncloud/fixing-5222-master 2013-10-23 05:35:33 -07:00
archive move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
backgroundjob decode arguments as array 2013-11-05 10:30:18 +01:00
cache Merge branch 'master' into fixing-4546-master 2013-10-07 17:47:54 +02:00
connector/sabre Merge pull request #5447 from owncloud/fixing-5117-master 2013-11-13 02:59:34 -08:00
db Merge pull request #5789 from ogasser/db_fix_default_for_numeric 2013-11-15 04:19:33 -08:00
fileproxy move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
files Merge pull request #5927 from owncloud/quota-excludeextstorage 2013-11-18 14:42:40 -08:00
group move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
hooks move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
l10n Merge branch 'master' into fixing-appframework-master 2013-10-08 12:13:24 +02:00
legacy Merge pull request #4796 from owncloud/config-no-catch 2013-10-07 11:45:13 -07:00
log Try to create custom log file before falling back to default. 2013-10-20 23:58:07 +02:00
memcache move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
migration move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
minimizer move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
ocs Get rid of the SELECT query. Try UPDATE, on failure INSERT. 2013-10-31 16:04:18 +01:00
preview Merge branch 'master' into moviepreviewfallback 2013-11-14 20:57:29 +01:00
search move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
session fixing php 5.3 compatibility 2013-10-08 21:52:54 +02:00
setup move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
template introduce OC_Helper::linkToDocs() 2013-10-21 22:01:27 +02:00
user Now removing stray old cookies from 5.0.12 2013-11-07 18:49:50 +01:00
vobject move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
activitymanager.php adding OC6 public API for activities 2013-10-09 18:06:21 +02:00
allconfig.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
api.php Merge multiple failed third party responses when returning the result 2013-11-14 01:21:54 +00:00
app.php add post_enable hook if a app gets enabled 2013-10-22 16:15:19 +02:00
appconfig.php Remove "link" shares right after disabling the "allow_link_share" setting 2013-10-18 11:37:13 +02:00
apphelper.php moving file to the right location 2013-10-07 00:32:39 +02:00
archive.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
arrayparser.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
avatar.php avatars should also work with encryption after pr #5332 was merged 2013-10-14 17:30:24 +02:00
backgroundjob.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
cache.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
config.php use OC_Helper::linkToDocs() in lib/private/config.php 2013-10-21 23:08:09 +02:00
contactsmanager.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
davclient.php Fixed spaces 2013-10-17 23:22:19 +02:00
db.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
defaults.php Merge branch 'master' into sharing_mail_notification_master 2013-10-02 10:11:18 +02:00
eventsource.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
filechunking.php fixes #5367 2013-10-17 20:20:13 +02:00
fileproxy.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
files.php Fixed getLocalFile() condition for x-send-file 2013-11-20 14:33:59 +01:00
geo.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
group.php dispayNamesInGroup(s) should always return uid as key in the result attr, fixes #5209 2013-10-20 20:55:27 +02:00
helper.php External storage space is now not counted in total space 2013-11-18 18:09:01 +01:00
hintexception.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
hook.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
image.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
installer.php one tab less 2013-11-18 12:19:16 +01:00
json.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
l10n.php fixing PHPDoc & grammar 2013-10-23 19:06:36 +02:00
log.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
mail.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
migrate.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
mimetypes.list.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
minimizer.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
navigationmanager.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
notsquareexception.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
ocs.php fix the privatedata key value store 2013-10-30 19:36:29 +01:00
ocsclient.php Merge branch 'master' into lib-private-master-2 2013-10-01 16:11:59 +02:00
preferences.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
preview.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
previewmanager.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
request.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
response.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
route.php Add patch method to OC_Route 2013-10-01 20:13:13 +02:00
router.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
search.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
server.php php 5.3 compatibility regarding OC\DB\Connection fixed 2013-10-21 22:51:56 +02:00
setup.php implementing solution using <ifModule mod_authz_core> 2013-11-08 17:29:14 +01:00
subadmin.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
tagmanager.php reorganize file in lib 2013-09-30 16:39:03 +02:00
tags.php reorganize file in lib 2013-09-30 16:39:03 +02:00
template.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
templatelayout.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
updater.php Merge branch 'master' into lib-private-master-2 2013-10-01 16:11:59 +02:00
urlgenerator.php use SERVERROOT instead of WEBROOT in all file_exists checks, whitespace 2013-10-28 14:18:20 +01:00
user.php use getHome() to delete users data 2013-10-29 18:01:37 +01:00
util.php we should check if a user is logged in before we check for admin privilege 2013-10-30 22:59:31 +01:00
vobject.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00