Skip to content
Snippets Groups Projects
  1. Dec 11, 2014
  2. Dec 10, 2014
  3. Dec 04, 2014
  4. Dec 02, 2014
  5. Nov 27, 2014
  6. Nov 25, 2014
  7. Nov 19, 2014
  8. Nov 17, 2014
    • Lukas Reschke's avatar
      Check if the size field is available · 6535540d
      Lukas Reschke authored
      In some cases the 'size' field is not available resulting in some PHP errors such as:
      
      ```json
      {"reqId":"03548fd9e3d3aca15a5796b3b35d7b9d","remoteAddr":"::1","app":"PHP","message":"Undefined index: size at \/Users\/lreschke\/Programming\/core\/lib\/private\/files\/fileinfo.php#125","level":3,"time":"2014-11-17T21:38:57+00:00"}
      ```
      
      This can be experienced when creating a new empty file and deleting it right away, then when going to the trash bin this error is thrown.
      6535540d
    • Joas Schilling's avatar
  9. Nov 12, 2014
    • Lukas Reschke's avatar
      Remove debug statement · da31177a
      Lukas Reschke authored
      Either we throw an exception or we ignore it. But we should certainly not print this to the end-user...
      da31177a
  10. Nov 11, 2014
  11. Nov 07, 2014
  12. Oct 28, 2014
  13. Oct 27, 2014
  14. Oct 24, 2014
  15. Oct 20, 2014
  16. Oct 16, 2014
  17. Oct 13, 2014
  18. Oct 08, 2014
  19. Sep 25, 2014
  20. Sep 24, 2014
  21. Sep 22, 2014
    • Lukas Reschke's avatar
      Do only follow HTTP and HTTPS redirects · 6eeb9058
      Lukas Reschke authored
      We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server)
      
      Get final redirect manually using get_headers()
      
      Migrate to HTTPHelper class and add unit tests
      6eeb9058
Loading