| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
.htaccess RewriteRules: use permanent redirect for .well-known/(cal|card)dav, add 'L' flag
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
Doing this in the PHP code is not the right approach for multiple reasons:
1. A bug in the PHP code prevents them from being added to the response.
2. They are only added when something is served via PHP and not in other cases (that makes for example the newest IE UXSS which is not yet patched by Microsoft exploitable on ownCloud)
3. Some headers such as the Strict-Transport-Security might require custom modifications by administrators. This was not possible before and lead to buggy situations.
This pull request moves those headers out of the PHP code and adds a security check to the admin settings performed via JS.
|
| |
|
| |
|
|
|
|
|
|
| |
Apparently a boolean in php.ini is according to the documentation "on" or "off"…
Fixes itself.
|
| |
|
| |
|
|
|
|
| |
Fixes https://github.com/owncloud/core/issues/13657
|
|
|
|
|
|
| |
PHP 5.6 otherwise throws notices for perfectly valid code which results in broken endpoints.
Fixes https://github.com/owncloud/core/issues/13592
|
|
|
|
|
|
|
|
|
| |
Currently if a user does not replace the .htaccess file with the new update this can lead to serious problems in case Apache is used as webserver.
This commit adds the version to the .htaccess file and the update routine fails in case not the newest version is specified in there. This obviously means that every release has to update the version specified in .htaccess as well. But I see no better solution for it.
Conflicts:
lib/private/updater.php
|
| |
|
| |
|
|
|
| |
use mod_rewrite to pretend theese files are not existend for security purposes
|
| |
|
|
|
|
| |
https://github.com/owncloud/core/commit/f2fc214ce0455ce9a9def36bd09285e82b5eabec
|
|
|
|
|
|
| |
This functions are deprecated and/or removed since ownCloud 7. Additionally a issubdirectory check has been added here to prevent developers to use this function in a potentially insecure way.
Port of https://github.com/owncloud/core/pull/9033
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The getfile routing code was absolutely legacy and not needed anymore. Additionally \OC::$REQUESTEDAPP was never set to the actually accessed application.
This commit removes the legacy routing code and ensures that $REQUESTEDAPP is always set so that other applications (e.g. the firewall or a two-factor authentication) can intercept the currently accessed app.
Testplan:
[x] Installation works
[x] Login with DB works
[x] Logout works
[x] Login with alternate backend works (tested with user_webdavauth)
[x] Other apps are accessible
[x] Redirect on login works (e.g. index.php?redirect_url=%2Fcore%2Findex.php%2Fsettings%2Fapps%3Finstalled)
[x] Personal settings are accessible
[x] Admin settings are accessible
[x] Sharing files works
[x] DAV works
[x] OC::$REQUESTEDAPP contains the requested application and can be intercepted by other applications
|
| |
|
| |
|
|
|
|
|
| |
1. We're maintaining the same code twice which leads inevitably to problems as this one. The createHtaccess routine is only used to use the correct paths to the 404 and 403 document.
2. Updating the ownCloud instance as described in our documentation (`Delete everything from your ownCloud installation directory, except data and config.`) will break the links to the ErrorDocuments anyways and show the default error handlers if ownCloud is not installed in the root directory.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add JS redirect if that fails (HTTP-based redirects are disabled by
default in more recent Firefox versions).
|
|
|
| |
php_value can only be used with mod_php, using it with FCGI will cause 500 Internal Server errors. This needs to be set in php.ini manually or set using ini_set().
|
| |
|
|\
| |
| | |
add cgi pathinfo when fcgi is enabled #1189
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
Squeeze + mod_fcgid installs.
|
| |
|
| |
|
|
|
|
| |
add rewriterule for caldav and carddav
|
|
|
|
| |
can be included
|
| |
|
| |
|
| |
|