Commit Graph

62 Commits (f432dd2e2ea9fe4e7c19d5ea9d60481e662a0367)

Author SHA1 Message Date
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
Daniel Kesselberg 8331d8296b
Make getServerHost more robust to faulty user input 6 years ago
Daniel Kesselberg d393b1612b
Modify regex to match some other chromium browsers 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Julius Härtl a055d8ddf9
Always return overwritehost if configured 6 years ago
Daniel Kesselberg fdf4e1ebb2
Remove duplicate code 6 years ago
b108@volgograd bf167ad3ac Remove duplicate functionality 7 years ago
Roeland Jago Douma 514426e27d
Only trust the X-FORWARDED-HOST header for trusted proxies 7 years ago
Oliver Wegner 401ca28f07 Adding handling of CIDR notation to trusted_proxies for IPv4 7 years ago
Daniel Kesselberg 986f4df2a5
Add REMOTE_ADDR to getHeader 7 years ago
Robin Appelman c0a283fefb
ensure we always return an array from `Request::getParams` 7 years ago
Roeland Jago Douma 043a824e6a
Fix comments 8 years ago
Roeland Jago Douma 0ee45d3d20
Fix proper types 8 years ago
Roeland Jago Douma a229095af1
Make Request strict 8 years ago
Morris Jobke 4ef302c0be
Request->getHeader() should always return a string 8 years ago
Roeland Jago Douma ca70694502
Also check for empty content lenth 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Roeland Jago Douma c257cd57d4
Handle SameSiteCookie check for index.php in AppFramework Middleware 8 years ago
Roeland Jago Douma 9717cdfb9e
If there is no content don't error 9 years ago
Roeland Jago Douma ede15f0988
Fix L10N::t 9 years ago
coderkun bdc7bb1f26 Add IPv6 to “localhost” regex (#440) 9 years ago
Joas Schilling 695696a4a6
Use constants 9 years ago
Juan Pablo Villafáñez 38e5135cb9
Reorder the entries of the log for easier reading 9 years ago
Roeland Jago Douma 2a9192334e
Don't try to parse empty body if there is no body 9 years ago
Roeland Jago Douma 8626ccab1c
dont require strict same site cookies for ocs requests 9 years ago
Joas Schilling 33fb86f68b
Fix detection of the new iOS app 9 years ago
Christoph Wurst 5e728d0eda oc_token should be nc_token 9 years ago
Lukas Reschke a05b8b7953
Harden cookies more appropriate 9 years ago
Joas Schilling c20ab0049f
Identify Chromium as Chrome 9 years ago
Lukas Reschke d50e7ee36c
Remove reading PATH_INFO from server variable 10 years ago
Roeland Jago Douma 8f3dc0ba43
Remove IE_8 user agent string 10 years ago