Commit Graph

16 Commits (6788e6e75cca95357a64202d331bf61e975df7d3)

Author SHA1 Message Date
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
Joas Schilling d3e3a84cae Move the helpful method to the TestCase class 11 years ago
Lukas Reschke 1c6eae9017 Get the real protocol behind several proxies 11 years ago
Lukas Reschke 886bda5f81 Refactor OC_Request into TrustedDomainHelper and IRequest 11 years ago
Lukas Reschke 770fa761b8 Respect `mod_unique_id` and refactor `OC_Request::getRequestId` 11 years ago
Bernhard Posselt bb0c88a577 always set url parameters when they are available in the app dispatch 11 years ago
Joas Schilling 6202ca33ba Make remaining files extend the test base 11 years ago
Bernhard Posselt 62cce982bb default to GET request when no method is set to fix unittests, also set parsed json parameters on the post attribute 12 years ago
Thomas Tanghus aedc427ffd Fix fix of POST :P 12 years ago
Thomas Tanghus 965ce5719f Modified PUT behaviour 12 years ago
Thomas Tanghus 7cd8088845 Add assertions for ->params and array access with json 12 years ago
Thomas Tanghus 973bcccd7c Implement PUT an PATCH support 12 years ago
Thomas Tanghus bdad7697ac Check if accessor matched request method. 12 years ago
Thomas Tanghus 1d2466c6d1 Add assertions for ->params and array access with json 12 years ago
Thomas Tanghus 092b4e7b53 Implement PUT an PATCH support 12 years ago
Thomas Tanghus 50fc5e8792 Check if accessor matched request method. 12 years ago
Thomas Tanghus d124b6965b Implement PUT an PATCH support 12 years ago
Thomas Tanghus d49e982ac8 Check if accessor matched request method. 12 years ago
Thomas Müller 33db8a3089 kill superfluent classloader from tests - this approach might be of interest within the apps 13 years ago
Thomas Müller fde9cabe97 initial import of appframework 13 years ago