summaryrefslogtreecommitdiffstats
path: root/lib/private/largefilehelper.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersJenkins for ownCloud2015-03-261-4/+21
|
* drop any fallback code related to curl - refs ↵Thomas Müller2015-03-121-7/+7
| | | | https://github.com/owncloud/core/pull/14838#issuecomment-78586447
* Revert "Updating license headers"Morris Jobke2015-02-261-20/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-5/+20
|
* Check if open_basedir is setLukas Reschke2014-12-111-1/+1
| | | | | | The file:// protocol does not work with curl when an open_basedir is set. This fixes https://github.com/owncloud/core/issues/12016
* Merge pull request #11565 from owncloud/fix-behaviourOnOSXLukas Reschke2014-10-151-1/+1
|\ | | | | Add darwin to if block
| * Add darwin to if blockLukas Reschke2014-10-141-1/+1
| | | | | | | | Otherwise it would fall into the 'win' else block because strpos($os, 'win') does also match 'darwin' what is the `php_uname` for OS X.
* | Use `rawurlencode` since this seems to be expected by cURLLukas Reschke2014-10-141-1/+1
|/ | | | Fixes https://github.com/owncloud/core/pull/11501#issuecomment-58794405
* Urlencode file name before passing it to cURLTony Zelenoff2014-10-091-1/+2
| | | | | | | Large file helper use cURL to determine file sizes. Thus filenames must be urlencoded in case special symbols like '#' can cause BadRequest errors. Signed-off-by: Tony Zelenoff <antonz@parallels.com>
* file size on non-(Linux/BSD/Windows)-installationsMichael Roitzsch2014-08-071-1/+1
| | | Determining the file size using the exec() method is implemented for Linux, BSD, and Windows. However, on systems matching neither platform name (like SunOS), the fall-through path will return a file size result constituting a zero size instead of an invalid null return value.
* Document exceptions thrown by \OC\LargeFileHelper.Andreas Fischer2014-05-291-2/+7
|
* Use "file size" instead of "filesize", then also apply camel case.Andreas Fischer2014-05-291-24/+24
|
* Increase file size limit from 2 GiB to 4 GiB when workarounds are unavailable.Andreas Fischer2014-05-291-1/+22
|
* Add LargeFileHelper::__construct() verifying that our assumptions hold.Andreas Fischer2014-05-291-0/+25
|
* Add helper method for turning int|float into base-10 unsigned integer string.Andreas Fischer2014-05-291-0/+24
|
* Windows exec() implementation.Andreas Fischer2014-05-291-6/+15
|
* Output validation for exec() method.Andreas Fischer2014-05-291-2/+7
|
* Refactor Large File handling code.Andreas Fischer2014-05-291-0/+103