aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http
Commit message (Expand)AuthorAgeFilesLines
* test(request): Add tests to strip the port when forwarding requestsJoas Schilling2024-02-131-288/+119
* test(unit): fix RequestTestArthur Schiwon2024-01-271-3/+4
* fix(API): Use a distinct exception so apps can react to it and customize the ...Joas Schilling2023-11-281-1/+2
* enh(dispatcher): enforce psalm ranges in the http dispatcherArthur Schiwon2023-11-241-0/+47
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
* fix(CSP): Only add `strict-dynamic` when using noncesFerdinand Thiessen2023-11-172-59/+59
* fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on `scr...Ferdinand Thiessen2023-11-171-76/+73
* feat(ContentSecurityPolicy): Allow to set `strict-dynamic` on `script-src-ele...Ferdinand Thiessen2023-11-172-0/+73
* Reverse X-Forwarded-For list to read the correct proxy remote addressJoas Schilling2023-11-161-6/+32
* Stop sending deprecated Pragma headerGit'Fellow2023-08-281-2/+0
* Allow "wasm-unsafe-eval" in CSPDaniel Calviño Sánchez2023-08-102-0/+14
* feat(request): Allow to match the client version with the IRequest::USER_AGEN...Joas Schilling2023-07-111-0/+57
* Add template types to responsesjld31032023-06-301-1/+4
* chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy:...Christoph Wurst2023-06-123-37/+3
* Adapt tests to config value typingCôme Chilliet2023-04-051-6/+6
* Change X-Robots-Tag header from "none" to "noindex, nofollow"MichaIng2023-02-152-2/+2
* composer run cs:fixCôme Chilliet2023-01-2010-10/+0
* feat(app framework)!: Inject services into controller methodsChristoph Wurst2023-01-181-10/+19
* Merge branch 'master' into add-scim-json-supportStanimir Bozhilov2022-12-193-21/+41
|\
| * Merge pull request #35780 from nextcloud/fix/http-dispatcher-double-parameter...Vincent Petry2022-12-161-7/+14
| |\
| | * fix(app framework): Fix missing cast of double controller parametersChristoph Wurst2022-12-151-7/+14
| * | check if params given to API are really an arrayArtur Neumann2022-12-151-2/+13
| |/
| * Fix some more problems with tests under PHP 8.2Côme Chilliet2022-11-151-12/+14
* | Fix the JSON content type regex to match all MIME typesStanimir Bozhilov2022-09-261-0/+91
* | Add unit tests for application/scim+json content typeStanimir Bozhilov2022-09-201-0/+92
|/
* Support specifying IPv6 proxies in CIDR notationSimon Leiner2022-08-021-0/+77
* Fix PHP 8.2 warnings about undeclared propertiesCôme Chilliet2022-06-211-0/+2
* Remove at matcher uses in tests/libCôme Chilliet2022-06-161-98/+79
* Use JSON_THROW_ON_ERROR instead of custom error handlingJulius Härtl2022-05-301-3/+3
* Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling2022-03-223-165/+171
|\
| * Adjust and add unit testsJoas Schilling2022-02-233-165/+171
* | Allow to set a strict-dynamic CSP through the APIJulius Härtl2022-03-091-0/+17
* | Fix testsJulius Härtl2022-02-281-7/+20
|/
* send request id in response headerRobin Appelman2022-02-012-1/+3
* Check style updateCarl Schwan2022-01-131-8/+8
* Fix DateTime constructor calls with nullCôme Chilliet2021-11-232-4/+4
* Escape filename in Content-DispositionLukas Reschke2021-06-021-11/+25
* Set frame-ancestors to none if none are filledRoeland Jago Douma2020-11-183-59/+59
* Remove deprecated OCSResponseRoeland Jago Douma2020-11-011-64/+0
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-5/+5
* Fix testsJoas Schilling2020-10-021-9/+46
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPU...Morris Jobke2020-08-121-1/+1
* Use assertStringContainsString instead of assertContains on stringsMorris Jobke2020-07-231-2/+2
* Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validatingJoas Schilling2020-07-021-0/+28
* Fix robots "noindex, nofollow" signalsJoas Schilling2020-06-252-2/+4
* Merge pull request #21479 from nextcloud/fix/21474/allow_specifying_cookie_typeblizzz2020-06-221-6/+13
|\
| * Allow to specify the cookie type for appframework responsesRoeland Jago Douma2020-06-221-6/+13
* | Fix unit test of the ResponseTestRoeland Jago Douma2020-06-211-3/+3
|/
* Merge pull request #20939 from nextcloud/enh/middleware/not_modifiedRoeland Jago Douma2020-05-132-41/+1
|\
| * Move the notmodified check to middleware where it belongsRoeland Jago Douma2020-05-132-41/+1