Commit Graph

109 Commits (addParameterTypingVersionsMapper)

Author SHA1 Message Date
Thomas Citharel 7bf8e9699c
fix(http): handle getHttpProtocol being unset in $_SERVER['SERVER_PROTOCOL'] if called from occ 3 months ago
provokateurin aab11d35d3
fix(OCS): Add IRequest::getFormat to determine the response Content-Type the same way everywhere 4 months ago
John Molakvoæ 4829ac57c1 fix: use `OCP\Server` 5 months ago
Josh 14b4d0327e fix(AppFramework): Log malformed protocol values and unify fallback behavior 5 months ago
Côme Chilliet 79f4e0de76
fix: Only attempt to decode JSON input if it is not an empty string 6 months ago
Côme Chilliet e8bc35ec0a
fix(ocs): Return a proper error on JSON decoding failures 6 months ago
Côme Chilliet 87f98c88ab
chore: Rename property and type it to match its current use in Request 6 months ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Ferdinand Thiessen c82b17d0a3
fix: Support Safari mobile 1 year ago
provokateurin 9d1705259c
fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checks 1 year ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Côme Chilliet 672923f0a6
fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Julius Härtl b8c5bff673
fix: Adjust user agent pattern for Edge 2 years ago
Joas Schilling 696ed4a125
fix(CS): Fix coding style 2 years ago
Joas Schilling c4684089a8
fix(request): Fix regex handling and coding-style 2 years ago
Mikael Peigney ffcadf25d4
fix(request): Handle reverse proxy setting a port in Forwarded-For 2 years ago
Côme Chilliet f73f966c98 chore: Add missing ArrayAccess template parameters 2 years ago
Pavel Kryl 30ad530814 code style: ommited space, reverted [code review] 2 years ago
Pavel Kryl 446ecbc454 fixing bug #6914: Config Param 'overwritecondaddr' not working 2 years ago
Ferdinand Thiessen 7620d230df
fix(Request): Catch exceptions in `isTrustedProxy` 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Joas Schilling 2fa78f6245
Reverse X-Forwarded-For list to read the correct proxy remote address 2 years ago
Hamid Dehnavi ea06cf2f39 Convert isset ternary to null coalescing operator 2 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Julius Härtl dc3916e27c
fix: Only get params from PUT content if possible 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Côme Chilliet cf508c1e47 Use strict typing in base.php 3 years ago
Artur Neumann 81f2857f34
check if params given to API are really an array 3 years ago
Stanimir Bozhilov b44befa881 Move JSON content type regex to IRequest and make it a const 3 years ago
Stanimir Bozhilov 46c10c77e1 Fix the JSON content type regex to match all MIME types 3 years ago
Stanimir Bozhilov d80f8f6c82 Type hint JSON content type regex and use preg_match less 3 years ago
Stanimir Bozhilov f286a9d6ac Use regex for all JSON-related content types 3 years ago
Stanimir Bozhilov 0ace70488a Treat application/json and application/scim+json in same if-block 3 years ago
Stanimir Bozhilov f0dbe1148a Add support for application/scim+json content type 3 years ago
Simon Leiner 09362eaeaa
Support specifying IPv6 proxies in CIDR notation 3 years ago
luz paz 368f83095d Fix typos in lib/private subdirectory 3 years ago
Côme Chilliet de5b7f260f
Trying without the use 4 years ago
Côme Chilliet 9132ed8ef1
Use sabre function directly rather than duplicating it 4 years ago
Joas Schilling 07a9f34385
Extract request id handling to dedicated class so it can be injected manually 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Côme Chilliet 113756db30
Fix ArrayAccess and JsonSerializable return types 4 years ago
J0WI 3b656446af Introduce ISecureRandom::CHAR_ALPHANUMERIC 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Lukas Reschke a521ed874c Remove unused constants 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Christoph Wurst 9ce3ea3368
Update license headers 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago