aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/RequestTest.php
Commit message (Expand)AuthorAgeFilesLines
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-70/+70
* fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checksprovokateurin2024-07-251-0/+20
* chore: Add SPDX headerAndy Scherzinger2024-05-131-8/+3
* 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
* Reverse X-Forwarded-For list to read the correct proxy remote addressJoas Schilling2023-11-161-6/+32
* feat(request): Allow to match the client version with the IRequest::USER_AGEN...Joas Schilling2023-07-111-0/+57
* Adapt tests to config value typingCôme Chilliet2023-04-051-6/+6
* Merge branch 'master' into add-scim-json-supportStanimir Bozhilov2022-12-191-2/+13
|\
| * check if params given to API are really an arrayArtur Neumann2022-12-151-2/+13
* | 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
* Remove at matcher uses in tests/libCôme Chilliet2022-06-161-98/+79
* Adjust and add unit testsJoas Schilling2022-02-231-129/+82
* Check style updateCarl Schwan2022-01-131-8/+8
* Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validatingJoas Schilling2020-07-021-0/+28
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-1/+1
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+1
* Use elseif instead of else ifChristoph Wurst2020-04-101-3/+3
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-12/+12
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-43/+43
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-52/+52
* Make getServerHost more robust to faulty user inputDaniel Kesselberg2020-01-161-0/+46
* Modify regex to match some other chromium browsersDaniel Kesselberg2019-12-271-5/+26
* Mode to modern phpunitRoeland Jago Douma2019-11-271-17/+17
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-2/+2
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
* Only trust the X-FORWARDED-HOST header for trusted proxiesRoeland Jago Douma2018-12-171-53/+90
* Adding handling of CIDR notation to trusted_proxies for IPv4Oliver Wegner2018-10-301-0/+115
* Remove testcaseRoeland Jago Douma2018-03-051-1/+0
* Fix proper typesRoeland Jago Douma2018-02-221-1/+1
* allow 'Nextcloud' in the user agent string of AndroidBjoern Schiessle2017-12-121-0/+14
* Use ::class in test mocksMorris Jobke2017-10-241-1/+1
* Handle SameSiteCookie check for index.php in AppFramework MiddlewareRoeland Jago Douma2017-09-241-2/+12
* Don't try to parse empty body if there is no bodyRoeland Jago Douma2017-04-041-1/+4
* add test for skipping cookie checks for ocsRobin Appelman2017-03-101-0/+25
* oc_token should be nc_tokenChristoph Wurst2017-02-021-1/+1
* Harden cookies more appropriateLukas Reschke2016-11-231-0/+70
* Identify Chromium as ChromeJoas Schilling2016-10-261-0/+14
* Merge pull request #797 from nextcloud/only-match-for-auth-cookieJoas Schilling2016-08-311-1/+77
|\
| * Match only for actual session cookieLukas Reschke2016-08-091-1/+77
* | Remove reading PATH_INFO from server variableLukas Reschke2016-08-191-16/+0
|/
* [master] Port Same-Site Cookies to masterLukas Reschke2016-07-201-28/+279
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+1453