Commit Graph

74 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Roeland Jago Douma 9163790b7c
Set frame-ancestors to none if none are filled 5 years ago
Roeland Jago Douma fa6a790859
Remove deprecated OCSResponse 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Joas Schilling 95a301ea57
Fix tests 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Morris Jobke 0123cd0ae3
Use assertStringContainsString instead of assertContains on strings 6 years ago
Joas Schilling 74a9cadc50
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating 6 years ago
Joas Schilling b7060be18d
Fix robots "noindex, nofollow" signals 6 years ago
Roeland Jago Douma fbf9772a3e
Allow to specify the cookie type for appframework responses 6 years ago
Roeland Jago Douma c006b5ff2a
Fix unit test of the ResponseTest 6 years ago
Roeland Jago Douma 12fa748c49
Move the notmodified check to middleware where it belongs 6 years ago
Clement Wong 979dd1b6f5 Fix http cache test 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 14c996d982
Use elseif instead of else if 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 2a529e453a
Use a blank line after the opening tag 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Daniel Kesselberg 8331d8296b
Make getServerHost more robust to faulty user input 6 years ago
Daniel Kesselberg d393b1612b
Modify regex to match some other chromium browsers 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma f81817b47d
Add tests 6 years ago
Roeland Jago Douma b8c5008acf
Add feature policy header 6 years ago
Roeland Jago Douma cf647451e5
Update CSP test cases to handle the new form-action 7 years ago
Roeland Jago Douma 7276735eb4
Set empty CSP by default 7 years ago
Roeland Jago Douma ad676c0102
Set default frame-ancestors to 'self' 7 years ago
Roeland Jago Douma 64244e1a4f
CSP: Allow fonts to be provided in data 7 years ago
Roeland Jago Douma 514426e27d
Only trust the X-FORWARDED-HOST header for trusted proxies 7 years ago
Oliver Wegner 401ca28f07 Adding handling of CIDR notation to trusted_proxies for IPv4 7 years ago
Roeland Jago Douma 579822b6a5
Add report-uri to CSP 7 years ago
Roeland Jago Douma 5b61ef9213
Disallow unsafe-eval by default 7 years ago
Roeland Jago Douma a34495933e
Move caching logic to response 8 years ago
Roeland Jago Douma d179186430
Remove testcase 8 years ago
Julius Härtl 5a4aa2b7dd
Add test for PublicTemplateResponse 8 years ago
Roeland Jago Douma 0ee45d3d20
Fix proper types 8 years ago
Roeland Jago Douma ca9f364fd4
Fix tests 8 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 8 years ago
Morris Jobke c70927eaa0
Remove not needed 3rdparty app disabling during upgrade for PHP 5.x 8 years ago
Joas Schilling 7bc9a69c3f
Remove deprecated core API 8 years ago
Bjoern Schiessle f0202245ee
allow 'Nextcloud' in the user agent string of Android 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Roeland Jago Douma c257cd57d4
Handle SameSiteCookie check for index.php in AppFramework Middleware 8 years ago
Thomas Citharel ecf347bd1a Add CSP frame-ancestors support 8 years ago