Commit Graph

4066 Commits

Author SHA1 Message Date
黄朝晖
bafefe8022
Fixed bug that RequiredIf can be exploited to generate gadget chains for deserialization vulnerabiltiies. (#3724) 2021-06-23 08:33:27 +08:00
黄朝晖
4f2fa87eb9
Fixed the active_url rule for validation in input fails to correctly check. (#3723)
Fixed the active_url rule for validation in input fails to correctly check  dns record with dns_get_record resulting in bypassing the validation

Ref: https://huntr.dev/bounties/2-laravel/framework/
2021-06-23 08:19:26 +08:00
Vinchan
5ad3d649ef
Fixed the in and not in rule for validation in input fails to correctly check in:00 rule when passing 0. (#3721)
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2021-06-23 08:15:28 +08:00
fangjianwei
f00a0c659e
Fixed the wrong judgment of counter or duration for circuit breaker. (#3684) 2021-06-07 20:00:41 +08:00
Nash Gao
69ff4eb6cc
Fixed bug that property $workerId does not works in annotation @Task. (#3674) 2021-06-06 15:53:55 +08:00
李铭昕
085f1cd671
Fixed bug that the crontab rule without backslash like 10-12 does not works. (#3669) 2021-06-05 09:55:37 +08:00
Demin Yin
c6e7addf26 fix the implementation for PHP 7.3 2021-06-05 09:03:06 +08:00
Demin Yin
f2c7327828 fix AWS API calls to fetch credentials from the instance metadata service from inside an ECS container 2021-06-05 09:03:06 +08:00
pandaLIU
0e5d09e0d6
Fixed rule like 10-12/1,14-15/1 does not works for crontab. (#3667)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-04 23:40:31 +08:00
李铭昕
67948a0455
Added document for using enable in @Crontab. (#3666) 2021-06-04 21:33:16 +08:00
fangjianwei
f846d25424
Fixed undefined index: Port for AbstractServiceClient::getNodesFromConsul(). (#3663)
Co-authored-by: fangjw <fangjw@wecut.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-04 14:49:56 +08:00
黄朝晖
2c40ec01b7
Added Hyperf\Rpc\PathGenerator\DotPathGenerator. (#3626)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-30 12:51:48 +08:00
张城铭
b8d504c6a4
Fixed bug that class_map does not works in Hyperf\Di\Annotation\Scanner. (#3625)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-27 19:43:27 +08:00
yandycom
f258bfa255
Fixed nsq max idle time. (#3621)
* Fixed nsq max idle time.

* Update nsq.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-25 20:39:16 +08:00
李铭昕
5eada19fb0
Fixed routes with same path but different methods will be merged when using describe:routes. (#3618) 2021-05-25 12:14:41 +08:00
李铭昕
d9d799b211
Removed useless @mixin (#3612) 2021-05-22 20:27:40 +08:00
SuSuSoo
de7ba7b300
Fixed bug that fromSub() and joinSub() don't work with table prefix. (#3610)
* fix #3602

* Added test cases

Co-authored-by: WeGiao <wegiao@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-21 23:05:07 +08:00
李铭昕
f6e9ff2213
Fixed bug that coroutine won't destruct when using onOpen in coroutine style websocket server. (#3607) 2021-05-21 14:56:36 +08:00
李铭昕
6d97e438c2
Fixed bug that increment/decrement does not works as expect when used in transaction. (#3598) 2021-05-18 21:00:26 +08:00
李铭昕
6f66dbcffd
Added crontab test cases into phpunit.xml (#3594)
* Added crontab test cases into phpunit.xml

* Update ParserTest.php
2021-05-17 17:03:58 +08:00
yansongda
faed954ce4
The enable parameter of the @Crontab supports array, which you can dynamically control whether the task is executed or not. (#3329)
* support crontab annotation `enable` bool or array

* Format code

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-15 18:14:24 +08:00
李铭昕
8b13089b12
Fixed bug that coroutine won't destruct for keepalive request in swow server. (#3586) 2021-05-14 12:44:23 +08:00
张城铭
b751c00e3a
Fixed @Inject does not works in nested trait. (#3520) 2021-04-26 07:51:58 +08:00
张城铭
1026d99a1b
Optimized code for Hyperf\Di\Aop\PropertyHandlerTrait. (#3517)
Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-24 10:40:56 +08:00
upper1027
6cea3ce4de
Added method Hyperf\HttpServer\Request::clearStoredParsedData(). (#3514)
* Added method `Hyperf\HttpServer\Request::clearStoredParsedData()`.

* Added test cases

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-22 16:11:01 +08:00
Dracovish
4be1f519cd
Fixed nats connection closed accidentally when socket timeout is smaller than max idle time. (#3513)
Co-authored-by: Dracovish <1114145341@qq.com>
2021-04-22 13:56:31 +08:00
Nash Gao
f7f4b7e2f6
Fixed bug that consult couldn't force a node into the left state. (#3510)
* modify consul forceLeave request method to PUT

* Fixed bug that consult couldn't force a node into the left state.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-21 19:20:56 +08:00
沈唁
7ef1fd05af
Use reactorId instead of fromId (#3509) 2021-04-21 17:16:31 +08:00
李铭昕
2ae4f74d84
Fixed test cases for Mysql 8.0.24 (#3506) 2021-04-20 19:44:35 +08:00
李铭昕
4fa2e2367c Added test cases. 2021-04-16 16:49:34 +08:00
nfangxu
500d83af5e feat: add withMax(),withMin(),withSum(),withAvg(). 2021-04-16 16:49:34 +08:00
李铭昕
0f5737c5c3
Release v2.1.14 2021-04-12 13:03:28 +08:00
李铭昕
7153c2dba8
Added method Sender::getResponse() which you can used to get response from coroutine style server. (#3472) 2021-04-09 19:45:10 +08:00
张城铭
009dc5fc59
optimization code (#3471) 2021-04-09 18:00:23 +08:00
李铭昕
da7e95c71c
Fixed bug that db connection couldn't be released to pool when using coroutine style websocket server. (#3467) 2021-04-09 14:59:55 +08:00
李铭昕
20f739f1d5
Fixed bug that websocket does not works when exist more than one server in coroutine style. (#3465) 2021-04-09 14:04:26 +08:00
Leo Cavalcante
446d981731
docs(en): kafka component (#3463)
* docs(en): kafka component

* Format code

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-09 11:45:20 +08:00
Hugh
f1a0f3d00f
Optimized phar:build, which can support symlink package. (#3455)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-04-05 18:36:44 +08:00
李铭昕
8e398a6983 Optimized code for releasing instance in Hyperf\Utils\Channel\Caller. 2021-04-04 10:15:05 +08:00
李铭昕
61fb3e5308 Optimized code 2021-04-04 10:15:05 +08:00
李铭昕
ddf7033254
Fixed bug that @Crontab does not works when used in methods. (#3450) 2021-04-03 17:00:28 +08:00
李铭昕
2aa967ed6b Fixed typo 2021-04-02 19:24:08 +08:00
李铭昕
9805c75311 Fixed default value of column does not works in model-cache. 2021-04-02 19:24:08 +08:00
李铭昕
a1d0c71f10 add deprecated to getClientCallbackTimeout() 2021-04-01 09:53:26 +08:00
Reasno
50e8e180df fix: use singleton config 2021-04-01 09:53:26 +08:00
Reasno
cf401ea927 fix: use object 2021-04-01 09:53:26 +08:00
Reasno
20683e3bee fix: cs-fix 2021-04-01 09:53:26 +08:00
Reasno
618d88f2c6 fix: phpstan 2021-04-01 09:53:26 +08:00
Reasno
1c36711db4 fix: invalid interface 2021-04-01 09:53:26 +08:00
Reasno
49b8f4a9cf fix: wrong comment 2021-04-01 09:53:26 +08:00