Commit Graph

77 Commits (1f42657bb9ea76353fbc02ee100cff5755b6384d)

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
Morris Jobke 24d436cb60
Remove unneeded casts that were found by Psalm 5 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.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 7e2c3a820e
Remove the cookie paths for php<7.3 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Joas Schilling 95a301ea57
Fix tests 5 years ago
Joas Schilling 3212c074b9
Log the number of queries built and executed 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
Roeland Jago Douma fbf9772a3e
Allow to specify the cookie type for appframework responses 6 years ago
Roeland Jago Douma 12fa748c49
Move the notmodified check to middleware where it belongs 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
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Daniel Kesselberg fdf4e1ebb2
Remove duplicate code 6 years ago
Julius Härtl 299759b836
Handle throwables in the http dispatcher 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
Roeland Jago Douma ca9f364fd4
Fix tests 8 years ago
Roeland Jago Douma bb0c7b2943
Make AppFramework/Http/Dispatcher 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 31c5c2a592
Change @georgehrke's email 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