Christoph Wurst
|
49dd79eabb
refactor: Add void return type to PHPUnit test methods
|
hai 2 meses |
provokateurin
|
9d1705259c
fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checks
|
hai 8 meses |
Andy Scherzinger
|
1f7e2ba599
chore: Add SPDX header
|
hai 6 meses |
Joas Schilling
|
9ed3ab7d87
test(request): Add tests to strip the port when forwarding requests
|
hai 9 meses |
Arthur Schiwon
|
216b95f8b1
test(unit): fix RequestTest
|
hai 10 meses |
Joas Schilling
|
2fa78f6245
Reverse X-Forwarded-For list to read the correct proxy remote address
|
hai 1 ano |
Joas Schilling
|
2c6f32cb28
feat(request): Allow to match the client version with the IRequest::USER_AGENT_* regex
|
hai 1 ano |
Côme Chilliet
|
8d5165e8dc
Adapt tests to config value typing
|
hai 1 ano |
Stanimir Bozhilov
|
7dcd6eb561
Merge branch 'master' into add-scim-json-support
|
hai 1 ano |
Artur Neumann
|
81f2857f34
check if params given to API are really an array
|
hai 1 ano |
Stanimir Bozhilov
|
46c10c77e1
Fix the JSON content type regex to match all MIME types
|
%!s(int64=2) %!d(string=hai) anos |
Stanimir Bozhilov
|
f7d51a39cf
Add unit tests for application/scim+json content type
|
%!s(int64=2) %!d(string=hai) anos |
Simon Leiner
|
09362eaeaa
Support specifying IPv6 proxies in CIDR notation
|
%!s(int64=2) %!d(string=hai) anos |
Côme Chilliet
|
c7e1c36362
Remove at matcher uses in tests/lib
|
%!s(int64=2) %!d(string=hai) anos |
Joas Schilling
|
cc6653e45c
Adjust and add unit tests
|
%!s(int64=2) %!d(string=hai) anos |
Carl Schwan
|
6312c0df69
Check style update
|
%!s(int64=2) %!d(string=hai) anos |
Joas Schilling
|
74a9cadc50
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
|
%!s(int64=4) %!d(string=hai) anos |
Christoph Wurst
|
1584c9ae9c
Add visibility to all methods and position of static keyword
|
%!s(int64=4) %!d(string=hai) anos |
Christoph Wurst
|
caff1023ea
Format control structures, classes, methods and function
|
%!s(int64=4) %!d(string=hai) anos |
Christoph Wurst
|
14c996d982
Use elseif instead of else if
|
%!s(int64=4) %!d(string=hai) anos |
Christoph Wurst
|
afbd9c4e6e
Unify function spacing to PSR2 recommendation
|
%!s(int64=4) %!d(string=hai) anos |
Christoph Wurst
|
b80ebc9674
Use the short array syntax, everywhere
|
%!s(int64=4) %!d(string=hai) anos |
Christoph Wurst
|
2ee65f177e
Use the shorter phpunit syntax for mocked return values
|
%!s(int64=4) %!d(string=hai) anos |
Daniel Kesselberg
|
8331d8296b
Make getServerHost more robust to faulty user input
|
%!s(int64=4) %!d(string=hai) anos |
Daniel Kesselberg
|
d393b1612b
Modify regex to match some other chromium browsers
|
%!s(int64=5) %!d(string=hai) anos |
Roeland Jago Douma
|
3a7cf40aaa
Mode to modern phpunit
|
%!s(int64=5) %!d(string=hai) anos |
Roeland Jago Douma
|
c007ca624f
Make phpunit8 compatible
|
%!s(int64=5) %!d(string=hai) anos |
Roeland Jago Douma
|
68748d4f85
Some php-cs fixes
|
%!s(int64=5) %!d(string=hai) anos |
Roeland Jago Douma
|
514426e27d
Only trust the X-FORWARDED-HOST header for trusted proxies
|
%!s(int64=6) %!d(string=hai) anos |
Oliver Wegner
|
401ca28f07
Adding handling of CIDR notation to trusted_proxies for IPv4
|
%!s(int64=6) %!d(string=hai) anos |