Skip to content
Snippets Groups Projects
  1. Mar 19, 2015
  2. Mar 02, 2015
    • Lukas Reschke's avatar
      Let users configure security headers in their Webserver · bbd5f284
      Lukas Reschke authored
      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.
      bbd5f284
  3. Feb 27, 2015
  4. Feb 23, 2015
  5. Feb 21, 2015
  6. Feb 10, 2015
  7. Jan 28, 2015
  8. Jan 22, 2015
  9. Jan 08, 2015
    • Lukas Reschke's avatar
      Add version to .htaccess · 7fbb7f4d
      Lukas Reschke authored
      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
      7fbb7f4d
  10. Jan 05, 2015
  11. Nov 27, 2014
  12. Oct 14, 2014
  13. Jun 16, 2014
  14. Jun 05, 2014
    • Lukas Reschke's avatar
      Remove legacy routing code · ac7fb1b2
      Lukas Reschke authored
      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
      ac7fb1b2
  15. Apr 28, 2014
  16. Feb 28, 2014
    • Lukas Reschke's avatar
      Remove .htaccess creation code · 357fdb1a
      Lukas Reschke authored
      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.
      357fdb1a
  17. Feb 20, 2014
  18. Jan 23, 2014
  19. Jan 08, 2014
  20. May 09, 2013
  21. Apr 24, 2013
  22. Mar 08, 2013
    • Myles McNamara's avatar
      remove php_value · ef2e8402
      Myles McNamara authored
      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().
      ef2e8402
  23. Feb 27, 2013
  24. Feb 26, 2013
  25. Feb 06, 2013
  26. Nov 30, 2012
  27. Nov 28, 2012
  28. Nov 11, 2012
  29. Nov 09, 2012
  30. Oct 28, 2012
  31. Jul 05, 2012
  32. Jun 05, 2012
Loading