Commit Graph

95 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
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
J0WI 331f30f085 Fix IPv6 localhost regex 5 years ago
Daniel Kesselberg 8ebd31d686
Make $vars and $secureRandom required. 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
J0WI 68ce17e59b Unify links to php.net 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Georg Ehrke 3bdfb380fc
Fix PHPDoc of IRequest::getHeader 6 years ago
Joas Schilling 74a9cadc50
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst 734c62bee0
Format code according to PSR2 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 3a415e4139
Remove space between switch case and colon 6 years ago
Christoph Wurst 85e369cddb
Fix multiline comments 6 years ago