Commit Graph

38 Commits (de3b6a2219c933388c39f07faedc39cd76abd472)

Author SHA1 Message Date
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Artur Neumann 81f2857f34
check if params given to API are really an array 3 years ago
Stanimir Bozhilov 46c10c77e1 Fix the JSON content type regex to match all MIME types 3 years ago
Stanimir Bozhilov f7d51a39cf Add unit tests for application/scim+json content type 3 years ago
Simon Leiner 09362eaeaa
Support specifying IPv6 proxies in CIDR notation 3 years ago
Côme Chilliet c7e1c36362
Remove at matcher uses in tests/lib 4 years ago
Joas Schilling cc6653e45c
Adjust and add unit tests 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Joas Schilling 74a9cadc50
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating 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 afbd9c4e6e
Unify function spacing to PSR2 recommendation 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
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 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 d179186430
Remove testcase 8 years ago
Roeland Jago Douma 0ee45d3d20
Fix proper types 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
Roeland Jago Douma 2a9192334e
Don't try to parse empty body if there is no body 9 years ago
Robin Appelman 9a8cef965f
add test for skipping cookie checks for ocs 9 years ago
Christoph Wurst 5e728d0eda oc_token should be nc_token 9 years ago
Lukas Reschke a05b8b7953
Harden cookies more appropriate 9 years ago
Joas Schilling c20ab0049f
Identify Chromium as Chrome 9 years ago
Lukas Reschke d50e7ee36c
Remove reading PATH_INFO from server variable 9 years ago
Lukas Reschke b53ea18ea5
Match only for actual session cookie 10 years ago
Lukas Reschke a299fa38a9
[master] Port Same-Site Cookies to master 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Joas Schilling 9eade36ae5
Fix namespaces in AppFramework tests 10 years ago
Lukas Reschke a977465af5 Add new CSRF manager for unit testing purposes 10 years ago
Roeland Jago Douma 07fd3889b1 Fix unit tests 10 years ago
Scrutinizer Auto-Fixer 453e1bf66e Scrutinizer Auto-Fixes 10 years ago
Mitar e0e51fd79f Added tests. 10 years ago
Thomas Müller 358858c9e3 Fix undefined HTTP_USER_AGENT 10 years ago
Lukas Reschke 8133d46620 Remove dependency on ICrypto + use XOR 10 years ago
Lukas Reschke 80a232da6a Add \OCP\IRequest::getHttpProtocol 10 years ago
Robin McCorkell ebe9bea709 Unit test for preventing warning decoding content 10 years ago
Jörn Friedrich Dreyer ca8d589f27 use assertSame, add failing case 10 years ago
Lukas Reschke 8313a3fcb3 Add mitigation against BREACH 11 years ago
Lukas Reschke 4efa7c09b1 Use StringUtils::equals on CSRF token and add unit tests 11 years ago
Thomas Müller bd71540c8a Fixing 'Undefined index: REMOTE_ADDR' - fixes #17460 11 years ago
Lukas Reschke 4d23e06097 Fix undefined offset 11 years ago