Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-06Allow ico files to be served staticallyMorris Jobke
2015-12-11Merge pull request #20878 from ↵Thomas Müller
owncloud/proper-htaccess-support-in-code-signing-checker Also run .htaccess routine when installing on another system than Apache
2015-12-08Remove version check out of .htaccessLukas Reschke
This can now be achieved using the new code signing.
2015-12-08Add DirectorySlash to dynamic .htaccess writeLukas Reschke
When `DirectorySlash off` is set then Apache will not lookup folders anymore. This is required for example when we use the rewrite directives on an existing path such as `/core/search`. By default Apache would load `/core/search/` instead `/core/search` so the redirect would fail here. This leads however to the problem that URLs such as `localhost/owncloud` would not load anymore while `localhost/owncloud/` would. This has caused problems such as https://github.com/owncloud/core/pull/21015 With this change we add the `DirectorySlash off` directive only when the `.htaccess` is writable to the dynamic part of it. This would also make `localhost/owncloud` work again as it would trigger the 404 directive which triggers the redirect in base.php.
2015-12-07Allow .ico filesLukas Reschke
Makes `/core/img/favicon.ico` accessible again via web.
2015-12-07Add CSP header to static resourcesLukas Reschke
Fixes https://github.com/owncloud/core/issues/16164
2015-12-02fix indentationMorris Jobke
2015-12-01Append PATH_INFO to ensure that file can be loaded on updateLukas Reschke
2015-12-01Disable MultiView + DirectorySlashLukas Reschke
Required for routes that might otherwise collide with existing folders on the system
2015-12-01Set "SetEnv" within base `.htaccess` fileLukas Reschke
mod_rewrite as used by the front controller may require a `RewriteBase` in case the installation is done using an alias. Since we cannot enforce a writable `.htaccess` file this will move the `front_controller_active` environment variable into the main .htaccess file. If administrators decide to have this one not writable they can still enable this feature by setting the `front_controller_active` environment variable within the Apache config.
2015-12-01Support pretty URLsLukas Reschke
This changeset allows ownCloud to run with pretty URLs, they will be used if mod_rewrite and mod_env are available. This means basically that the `index.php` in the URL is not shown to the user anymore. Also the not deprecated functions to generate URLs have been modified to support this behaviour, old functions such as `filePath` will still behave as before for compatibility reasons. Examples: http://localhost/owncloud/index.php/s/AIDyKbxiRZWAAjP => http://localhost/owncloud/s/AIDyKbxiRZWAAjP http://localhost/owncloud/index.php/apps/files/ => http://localhost/owncloud/apps/files/ Due to the way our CSS and JS is structured the .htaccess uses some hacks for the final result but could be worse... And I was just annoyed by all that users crying for the removal of `index.php` ;-)
2015-11-18Update .well-known redirects to the new dav endpointThomas Müller
This reverts commit 68321efd29184fbc1bef409ec41f9b38501116ef.
2015-11-18Revert "Update .well-known redirects to the new dav endpoint"Thomas Müller
This reverts commit d831c255ea726b8e8aaa0b3c1a8186808b82f73e.
2015-11-18Update .well-known redirects to the new dav endpointThomas Müller
2015-10-15Remove legacy non-working rewrites in .htaccessRealRancor
2015-10-14Master is now 9.0.0 developmentJoas Schilling
2015-09-29Fix .htaccess: php_value should be integerRealRancor
2015-08-16properly indent .htaccessMorris Jobke
2015-07-01This will be 8.2 in the futureFrank Karlitschek
2015-03-30Merge pull request #15042 from wolfgangkarall/masterLukas Reschke
.htaccess RewriteRules: use permanent redirect for .well-known/(cal|card)dav, add 'L' flag
2015-03-27Add some generic default headers as well via PHPLukas Reschke
2015-03-19use permanent redirect for .well-known/(cal|card)dav, add 'L' flagWolfgang Karall
2015-03-02Let users configure security headers in their WebserverLukas Reschke
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.
2015-02-28Fix version revLukas Reschke
2015-02-28This is 8.0.1 nowFrank Karlitschek
2015-02-23Use "off" and "off" instead of true booleansLukas Reschke
Apparently a boolean in php.ini is according to the documentation "on" or "off"… Fixes itself.
2015-02-21Add expected values to default config as wellLukas Reschke
2015-02-10Setting default charset to UTF-8 in .htaccess and .user.iniFernando Rodriguez Sela
2015-01-28Reference module with `.c`Lukas Reschke
Fixes https://github.com/owncloud/core/issues/13657
2015-01-22Add check for `HTTP_RAW_POST_DATA` setting for >= 5.6Lukas Reschke
PHP 5.6 otherwise throws notices for perfectly valid code which results in broken endpoints. Fixes https://github.com/owncloud/core/issues/13592
2015-01-08Add version to .htaccessLukas Reschke
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
2015-01-05escape . in htaccess regex for CSS and JS HTTP headersMorris Jobke
2014-11-27blocked 3rdparty instead of l10nRobert Jäckel
2014-11-27restrict access to public files onlyRobert Jäckel
use mod_rewrite to pretend theese files are not existend for security purposes
2014-10-14adding cache control headers for css and js - fixes #11496Thomas Müller
2014-06-16That file was accidentally commited. Partially revert ↵Lukas Reschke
https://github.com/owncloud/core/commit/f2fc214ce0455ce9a9def36bd09285e82b5eabec
2014-06-16Add deprecation notice to load* functionsLukas Reschke
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
2014-06-05Remove legacy routing codeLukas Reschke
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
2014-04-28Remove trailing tabFelix Eckhofer
2014-04-28Escape literal dots in mod_rewrite regexesFelix Eckhofer
2014-02-28Remove .htaccess creation codeLukas Reschke
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.
2014-01-24remove css files from rewrite rule - there is no need to rewrite css any moreThomas Müller
2014-01-08turn off mod_pagespeedThomas Müller
2013-05-10disable mbstring.func_overloadThomas Tanghus
2013-04-24Try to prefer index.php over index.html in the same directoryDaniel Molkentin
Add JS redirect if that fails (HTTP-based redirects are disabled by default in more recent Firefox versions).
2013-03-08remove php_valueMyles McNamara
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().
2013-02-27Refix #1931Brice Maron
2013-02-27Merge pull request #1931 from owncloud/fastcgiThomas Müller
add cgi pathinfo when fcgi is enabled #1189
2013-02-26add cgi pathinfo when fcgi is enabled #1189Bernhard Posselt
2013-02-26added defaultcharset to utf-8 in htaccessBernhard Posselt