Commit Graph

158 Commits (09b14ceffcb5a552bb87fca38c307d2634411581)

Author SHA1 Message Date
Joas Schilling 2a0cda74d4 Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_* 10 years ago
v1r0x ec6e8c1ab6 fix unit test 10 years ago
Joas Schilling 599eb141b4 Make sure tests don't leave a stray directory behind 10 years ago
Lukas Reschke 809ff5ac95 Add public API to give developers the possibility to adjust the global CSP defaults 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
Roeland Jago Douma b2df7b6b8a Fix unit test 10 years ago
Bernhard Posselt 23c754aed3 prefer scalar type hints over phpdoc annotation 10 years ago
Scrutinizer Auto-Fixer 453e1bf66e Scrutinizer Auto-Fixes 10 years ago
Lukas Reschke f4eb15d340 Show error template 10 years ago
Thomas Müller 7e71d8231e Mock DIContainer to not hit the database 10 years ago
Thomas Müller 3bb6dcea64 Apply DB group annotation ... 10 years ago
Robin Appelman aa822f76e2 fix tests 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
Lukas Reschke e735a9915c Add blob: scheme to default CSP policy 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 0943781ccf Rename data provider to avoid risky test warning 10 years ago
Lukas Reschke f9e90e92d4 Encode HTML tags in JSON 10 years ago
Roeland Jago Douma f12caf930e Properly return 304 10 years ago
Lukas Reschke 8313a3fcb3 Add mitigation against BREACH 11 years ago
sualko 5590d64612 add more unit tests for data: as allowed image domain 11 years ago
sualko 930841b67a add unit test for data: as allowed image domain 11 years ago
Lukas Reschke 4efa7c09b1 Use StringUtils::equals on CSRF token and add unit tests 11 years ago
Thomas Müller 3ecf7fce79 Fix unit test within OCSController 11 years ago
Thomas Müller 649cc2fa89 Remove duplicate and unused code 11 years ago
Robin McCorkell 182bc17aeb Sanitize class names before registerService/query 11 years ago
Robin McCorkell 0223221a64 Fix incorrect test naming 11 years ago
Bernhard Posselt d8673dabe3 add test for factories 11 years ago
Lukas Reschke 7dda86f371 Return proper status code in case of a CORS exception 11 years ago
Bernhard Posselt a4e3939204 add registerAlias method to shorcut interface registration 11 years ago
Thomas Müller bd71540c8a Fixing 'Undefined index: REMOTE_ADDR' - fixes #17460 11 years ago
Lukas Reschke 62e3de1bdb Check if response could get generated 11 years ago
Lukas Reschke 4d23e06097 Fix undefined offset 11 years ago
Robin McCorkell f1e3e25158 AppFramework annotation whitespace unit test 11 years ago
Lukas Reschke 34f5541088 Add `no-store` to AppFramework 11 years ago
Bernhard Posselt 21ce5d034b fix #16713 11 years ago
Joas Schilling d3e3a84cae Move the helpful method to the TestCase class 11 years ago
Bernhard Posselt c8e3599cad disallow cookie auth for cors requests 11 years ago
Lukas Reschke a62190a72d Add support for disallowing domains to the ContentSecurityPolicy 11 years ago
Bernhard Posselt df24a014b8 If the execute method on the mapper receives an assoc array, it binds by value instead of index 11 years ago
Lukas Reschke b29940d956 Add support for 'child-src' directive 11 years ago
Bernhard Posselt 95239ad21e AppFramework StreamResponse 11 years ago
Bernhard Posselt f993ed823e fix tabs and spaces 11 years ago
Bernhard Posselt aaf753bc9a fix mappertestutility 11 years ago
Bernhard Posselt 7b2fdbfb0b use IDBConnection and close cursors after insert/update/delete 11 years ago
Lukas Reschke 1c6eae9017 Get the real protocol behind several proxies 11 years ago