Joas Schilling
|
74a9cadc50
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
|
4 rokov pred |
Christoph Wurst
|
1584c9ae9c
Add visibility to all methods and position of static keyword
|
4 rokov pred |
Christoph Wurst
|
caff1023ea
Format control structures, classes, methods and function
|
4 rokov pred |
Christoph Wurst
|
14c996d982
Use elseif instead of else if
|
4 rokov pred |
Christoph Wurst
|
afbd9c4e6e
Unify function spacing to PSR2 recommendation
|
4 rokov pred |
Christoph Wurst
|
b80ebc9674
Use the short array syntax, everywhere
|
4 rokov pred |
Christoph Wurst
|
2ee65f177e
Use the shorter phpunit syntax for mocked return values
|
4 rokov pred |
Daniel Kesselberg
|
8331d8296b
Make getServerHost more robust to faulty user input
|
4 rokov pred |
Daniel Kesselberg
|
d393b1612b
Modify regex to match some other chromium browsers
|
4 rokov pred |
Roeland Jago Douma
|
3a7cf40aaa
Mode to modern phpunit
|
5 rokov pred |
Roeland Jago Douma
|
c007ca624f
Make phpunit8 compatible
|
5 rokov pred |
Roeland Jago Douma
|
68748d4f85
Some php-cs fixes
|
5 rokov pred |
Roeland Jago Douma
|
514426e27d
Only trust the X-FORWARDED-HOST header for trusted proxies
|
6 rokov pred |
Oliver Wegner
|
401ca28f07
Adding handling of CIDR notation to trusted_proxies for IPv4
|
6 rokov pred |
Roeland Jago Douma
|
d179186430
Remove testcase
|
6 rokov pred |
Roeland Jago Douma
|
0ee45d3d20
Fix proper types
|
6 rokov pred |
Bjoern Schiessle
|
f0202245ee
allow 'Nextcloud' in the user agent string of Android
|
7 rokov pred |
Morris Jobke
|
43e498844e
Use ::class in test mocks
|
7 rokov pred |
Roeland Jago Douma
|
c257cd57d4
Handle SameSiteCookie check for index.php in AppFramework Middleware
|
7 rokov pred |
Roeland Jago Douma
|
2a9192334e
Don't try to parse empty body if there is no body
|
7 rokov pred |
Robin Appelman
|
9a8cef965f
add test for skipping cookie checks for ocs
|
7 rokov pred |
Christoph Wurst
|
5e728d0eda
oc_token should be nc_token
|
7 rokov pred |
Lukas Reschke
|
a05b8b7953
Harden cookies more appropriate
|
8 rokov pred |
Joas Schilling
|
c20ab0049f
Identify Chromium as Chrome
|
8 rokov pred |
Joas Schilling
|
f9cea0b582
Merge pull request #797 from nextcloud/only-match-for-auth-cookie
|
8 rokov pred |
Lukas Reschke
|
d50e7ee36c
Remove reading PATH_INFO from server variable
|
8 rokov pred |
Lukas Reschke
|
b53ea18ea5
Match only for actual session cookie
|
8 rokov pred |
Lukas Reschke
|
a299fa38a9
[master] Port Same-Site Cookies to master
|
8 rokov pred |
Joas Schilling
|
94ad54ec9b
Move tests/ to PSR-4 (#24731)
|
8 rokov pred |