| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
While BREACH requires the following three factors to be effectively exploitable we should add another mitigation:
1. Application must support HTTP compression
2. Response most reflect user-controlled input
3. Response should contain sensitive data
Especially part 2 is with ownCloud not really given since user-input is usually only echoed if a CSRF token has been passed.
To reduce the risk even further it is however sensible to encrypt the CSRF token with a shared secret. Since this will change on every request an attack such as BREACH is not feasible anymore against the CSRF token at least.
|
|\
| |
| | |
Store storage availability in database
|
| |
| |
| |
| |
| |
| |
| |
| | |
Storage status is saved in the database. Failed storages are rechecked every
10 minutes, while working storages are rechecked every request.
Using the files_external app will recheck all external storages when the
settings page is viewed, or whenever an external storage is saved.
|
|/
|
|
|
|
| |
- less static calls
- use params on sql queries
- handle sql exception on database and user creation gracefully
|
|\
| |
| | |
Add getUserFolder to IRootFolder
|
| |
| |
| |
| |
| | |
* untangle DI of user specific folders
* allows to autodetect the dependency
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Move away from private static function OC_Util::getUrlContent
|
| |
| |
| |
| | |
It is just a wrapper and the other functions are deprecated already
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Allow change update channel via public API
|
| |/ |
|
|\ \
| | |
| | | |
wait with copying the skeleton untill login and setupfs are done
|
| |/ |
|
| |
| |
| |
| | |
* Changed "instead to" to "instead of".
* Changed "setup" to "set up" (past participle).
|
|/
|
|
|
|
|
|
|
| |
From https://github.com/owncloud/core/issues/16287:
> This is caused by XCache at https://github.com/owncloud/core/blob/8e59d4c64b48ed7daeebb714e11213f7a22b5740/lib/private/util.php#L1276 where we are trying to reset the opcode cache with `XC_TYPE_PHP`.
> I suspect that while XCache is installed its opcode component is not used. Unfortunately, the XCache API is not really properly documented and thus I don't know what API we would have to call to check whether the `XC_TYPE_PHP` cache is populated. In fact, there is an [open XCache bug](http://xcache.lighttpd.net/ticket/176) since 7 years that discusses this problem and is likely to never get fixed since XCache is abandonware.
Fixes https://github.com/owncloud/core/issues/16287
|
| |
|
|
|
|
| |
Fixes https://github.com/owncloud/core/issues/14670
|
|
|
|
| |
This is catched in index.php as older PHP versions will never execute the code path until there due to 5.4 syntax changes.
|
|
|
|
|
|
|
|
| |
This removes the hard-dependency on output buffering as requested at https://github.com/owncloud/core/issues/16013 since a lot of distributions such as Debian and Ubuntu decided to use `4096` instead of the PHP recommended and documented default value of `off`.
However, we still should encourage disabling this setting for improved performance and reliability thus the setting switches in `.user.ini` and `.htaccess` are remaining there. It is very likely that we in other cases also should disable the output buffering but aren't doing it everywhere and thus causing memory problems.
Fixes https://github.com/owncloud/core/issues/16013
|
|
|
|
| |
Will prevent users from use ownCloud on Windows Server :see_no_evil:
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Also used the opportunity to refactor it into an AppFramework controller so that we can unit test it.
Fixes https://github.com/owncloud/core/issues/14956
|
| |
|
| |
|
| |
|
|\
| |
| | |
pass mountpoint to storage wrapper callback
|
| | |
|
| |
| |
| |
| | |
check is now handled by storage backends
|
|/
|
|
| |
It is required by other functionalities such as S2S anyways and ownCloud will fail hard at a lot of places without it.
|
|
|
|
| |
command line as well
|
| |
|
|\
| |
| | |
adding storage specific filename verification
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
Ref https://github.com/owncloud/core/issues/10837#issuecomment-76516839
|
|
|
| |
Maybe it helps in the future so we won't forget it again :see_no_evil:
|
|\
| |
| | |
Revert "Updating license headers"
|
| |
| |
| |
| | |
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
|
|\ \
| |/
|/| |
Move UTF-8 check to setup
|
| |
| |
| |
| |
| |
| |
| |
| | |
Nobody reads the warnings anyways and so we should enforce it at installation time... Also allows us to get rid of some duplicated code.
To test change the `default_charset` to something other than `utf-8` or `UTF-8`, both should work fine with that change here. An error should then get shown.
We already set those default charsets in the shipped .user.ini and .htaccess
|
|/
|
|
| |
Function is not used anymore anywhere in the code base: https://github.com/search?q=user%3Aowncloud+secureRNGAvailable&type=Code&utf8=%E2%9C%93
|
| |
|
|\
| |
| | |
Better caching for enabled apps
|