Commit Graph

7 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 1e086064f5
Move legacy classes from PSR0 to PSR4 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
J0WI 1b074f48d8
Remove duplicated spaces 6 years ago
J0WI 3f2932c75a
Sort headers 6 years ago
J0WI 76cbd7db6e
Add X-Frame-Options header to .htaccess 6 years ago
Roeland Jago Douma 3b1e16458d
Forbid eval on legacy responses 7 years ago
Peter Kraume 79b8703f29 Set Referrer-Policy also in addSecurityHeaders() 7 years ago
Morris Jobke b0a296e2e1
Do not use HTTP code OC_Response constants anymore 8 years ago
Morris Jobke 79d9841bce
Replace hardcoded status headers with calls to http_response_code() 8 years ago
Morris Jobke 53a899a1f5
Fix the HTTP 1.0 status code and properly detect 1.0 vs 1.1&2.0 8 years ago
Morris Jobke e758cfcdc8
Remove unused methods of OC_Response 8 years ago
Morris Jobke 70b1f510f2
Use normal header() calls instead of private method calls 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke dfd8125aeb
Replace wrong PHPDocs 9 years ago
Joas Schilling bd37021587
Fix casing of same origin frame option 9 years ago
Lukas Reschke 3a90ab7e0a
Update legacy CSP policy 9 years ago
Lukas Reschke bff6c8aafc
Move X-Frame-Options into PHP 9 years ago
Lukas Reschke fdcb8edd78
Add nonce also to legacy CSP 9 years ago
Sergio Bertolín 0417cbafd0
Changed request to not add a prefix to the url (#26256) 9 years ago
Joas Schilling ba87db3fcc
Fix others 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Roeland Jago Douma 368be8894c
Move non PSR-4 files from lib/private root to legacy 10 years ago
Stefan Weil b1a856d7b7 lib: Fix typos (found by codespell) 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Lukas Reschke 4d0dcd3c53 Add X-Download-Options and X-Permitted-Cross-Domain-Policies 10 years ago
Lukas Reschke bafb86fb9f Use getHttpProtocol instead of $_SERVER 10 years ago
Lukas Reschke e735a9915c Add blob: scheme to default CSP policy 10 years ago
Olivier Paroz c4bac1655d Fix CSP for images for legacy apps 10 years ago
Morris Jobke f63915d0c8 update license headers and authors 11 years ago
Lukas Reschke a98b819366 Add version to deprecation notice 11 years ago
Lukas Reschke f672e120fc Deprecate unused `\OCP\Response::sendFile` 11 years ago
Lukas Reschke 9d1ce53cb1 Add some generic default headers as well via PHP 11 years ago
Andreas Fischer 0f58315543 Add OC_Response::setContentLengthHeader() for Apache PHP SAPI workaround. 11 years ago
Jenkins for ownCloud b585d87d9d Update license headers 11 years ago
Lukas Reschke bbd5f28415 Let users configure security headers in their Webserver 11 years ago
Morris Jobke 06aef4e8b1 Revert "Updating license headers" 11 years ago
Jenkins for ownCloud 6a1a4880f0 Updating license headers 11 years ago
Lukas Reschke 886bda5f81 Refactor OC_Request into TrustedDomainHelper and IRequest 11 years ago
Lukas Reschke b20174bdad Allow AppFramework applications to specify a custom CSP header 11 years ago
Lukas Reschke b3f881748d Allow any outgoing XHR connections 11 years ago
Morris Jobke dc36d30953 Remove all occurences of @brief and @returns from PHPDoc 12 years ago
Robin McCorkell 87b548ed91 Fix all PHPDoc types and variable names, in /lib 12 years ago
Thomas Müller 3cd32dcb7c adding X-Robots-Tag to all responses of ownCloud + move addSecurityHeaders() to OC_Response, which seems to be a more reasonable place 12 years ago
Lukas Reschke 0b7d9e2668 Cleanup code a little bit 12 years ago