eb956e9c6b
primary/replica in a definitely non-breaking way ( #18106 )
2020-06-16 11:33:27 +03:00
fc4f449e21
Fix #18083 : Add Controller::$request and $response
2020-06-14 21:19:27 +03:00
472600ee3f
Fix #18102 : Use “primary”/“replica” terminology instead of “master”/“slave”
2020-06-14 00:12:10 +03:00
9a3093442c
Use inheritDoc to replace outdated docblock ( #18100 )
2020-06-13 12:50:34 +03:00
4ea484ca68
Fix #17722 : Add action injection support
2020-06-12 10:06:18 +03:00
eb7b23d117
Fix #18048 : Use Instance::ensure() to set User::$accessChecker
2020-05-19 18:42:13 +03:00
975937e531
Fix #18006 : Allow SameSite cookie pre PHP 7.3
2020-05-01 13:28:23 +03:00
13c14292c2
Fix #17948 : Ignore errors caused by set_time_limit(0)
2020-04-05 11:55:26 +03:00
fbd7eded2d
Bug #17933 : Log warning instead of erroring when URLManager is unable to initialize cache
2020-03-26 23:21:35 +03:00
f8d417c42a
Fixed usage of non-existing ResponseEvent in yii\web\Response docs ( #17939 )
2020-03-26 15:45:39 +03:00
65e5640810
Fix #17932 : Fix regression in detection of AJAX requests ( #17937 )
2020-03-26 12:30:56 +03:00
7f88acb313
Fix #17878 : Detect CORS AJAX requests without X-Requested-With in Request::getIsAjax()
2020-03-24 19:01:52 +03:00
4b6d3c0290
Fix #17929 : Actions can now have bool typed params bound
2020-03-24 18:44:43 +03:00
ec089fea5a
Fix #16721 : Use Instance::ensure() to initialize UrlManager::$cache
2020-02-23 16:02:27 +03:00
55793471ea
Fix #17875 : Revert move_uploaded_file() function instead of copy() and unlink() for saving uploaded files when POST request
2020-02-20 12:22:01 +03:00
7ec7fd11ee
Fix #17878 : Added note about fetch() to Request::getIsAjax() phpdoc [skip ci]
2020-02-20 01:10:59 +03:00
15d425a3e3
Fix #17843 : Fix yii\web\Session::setCookieParamsInternal check param "samesite"
2020-02-03 13:52:46 +03:00
82b7ecbdf3
Fix #17828 : Fix yii\web\UploadedFile::saveAs() failing when error value in $_FILES entry is a string
2020-02-01 12:56:22 +03:00
fd6ccb615c
release version 2.0.32
2020-01-22 01:29:38 +03:00
706890a36e
Add "since" tags to UploadedFile [skip ci]
2020-01-22 01:01:16 +03:00
038ce9f77e
Fix #17755 : Fix a bug for web request with trustedHosts set to format ['10.0.0.1' => ['X-Forwarded-For']]
2020-01-15 15:51:57 +03:00
cf0e56907f
Fix #17037 , Fix #17729 : Fix uploaded file saving for multipart forms, add path alias support for UploadFile::saveAs()
2020-01-15 00:57:45 +03:00
5e71b11d8d
#17733 : Additional fixes for #17665 , Forwarded header parsing in Request
...
- Remove header from secure headers
- Regexp and return null fix
- Fix tests, fix in array case sensitivity, rx duplicated group name
- Simplify code
- Add phpdoc
Co-Authored-By: Alexander Makarov <sam@rmcreative.ru>
2019-12-17 21:53:55 +03:00
83055dcc33
Fix #17665 : Implement RFC 7239 Forwarded header parsing in Request
2019-12-12 23:29:54 +03:00
69b1966b4a
PHP 7.4 fixes
...
- Fix `Model::activeAttributes()` to access array offset on value of non-string
- Fix incorrect decoding of default binary value for PostgreSQL
- Fix incorrect type-casting of reflection type to string
2019-12-10 15:08:45 +03:00
1a8c83ba43
Fix #17694 : Fixed Error Handler to clear registered view tags, scripts, and files when rendering error view through action view
2019-12-03 21:36:48 +03:00
40797c1139
Fix #17701 : Throw BadRequetHttpException when request params can’t be bound to bool, int, and float controller action arguments
2019-12-03 12:40:56 +03:00
6c1b2db9de
Fix #17434 : IE Ajax redirect fix for non 11.0 versions
2019-11-18 12:45:35 +03:00
9c5cd51a3b
Fix #17632 : Unicode file name was not correctly parsed in multipart forms
2019-11-05 14:42:22 +03:00
848ab0ce6e
Fix #17606 : Fix error in AssetBundle when a disabled bundle with custom init() was still published
2019-10-13 19:50:27 +03:00
9054cdfdcc
Fixes #17521 : Request::getUserHost() and request::getUserIp() ( #17593 )
2019-10-05 22:33:29 +03:00
c87855b31c
Fix #17573 : Request::getUserIP() security fix for the case when Request::$trustedHost and Request::$ipHeaders are used
2019-10-03 14:56:20 +03:00
96cd8bcb68
Fix #16826 : appendTimestamp support was added to View methods registerCssFile() and registerJsFile()
2019-09-17 14:07:15 +03:00
c75ef05539
Fix #17434 : Fix regular expression illegal character; Repeated fix for Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (XMLHttpRequest: Network Error 0x800c0008)
2019-09-10 13:52:08 +03:00
aeff8466ff
Fix #17544 : Removed incorrect statement about default value from Session::$gCProbability and its getter [skip ci]
2019-09-05 21:38:13 +03:00
37df938338
Fix #16531 : Fix error in Response::sendContent() when set_time_limit() is disabled
2019-09-03 19:40:44 +03:00
10a069a3a4
Fix #17434 : Fixed Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (XMLHttpRequest: Network Error 0x800c0008)
2019-09-03 17:54:14 +03:00
378f9ad598
Fix #17424 : Subdomain support for User::loginRequired
2019-07-18 11:46:05 +03:00
5c7db1690e
Add type null to @return annotation of findIdentityByAccessToken and findIdentity methods ( #17430 ) [skip ci]
2019-07-12 14:15:24 +03:00
f3d1534125
release version 2.0.21
2019-06-18 17:25:08 +03:00
3601d512c2
Fixes #17070 : Strip invalid character from fallback file name
2019-06-12 23:41:40 +03:00
1ed6ec1e5c
Fixes #17353 : Added sameSite support for yii\web\Cookie and yii\web\Session::cookieParams
2019-06-11 00:33:36 +03:00
ffe38a920f
release version 2.0.17
2019-03-23 00:26:26 +03:00
55418776d4
Fixes #17215 : Improved security for servers running PHP 7.0.0+
2019-03-20 14:38:12 +03:00
8bb334b9ae
Fixes #9438 , #13740 , #15037 : Handle DB session callback custom fields before session closed
2019-03-09 15:54:39 +03:00
fc98a95a90
Fixes #17185 : Fixed AssetManager timestamp appending when a file is published manually
2019-03-05 18:11:27 +03:00
81f7d381e5
Fixes #17180 : Do not populate yii\web\Response::$response when response code is 204
2019-03-05 12:34:40 +03:00
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
c776cf6240
Update UrlManager.php ( #17102 )
...
change >>'POST <controller:[\w-]+>s' => '<controller>/create'<< to >>'POST <controller:[\w-]+>' => '<controller>/create'<<
In POST we don't have 's' so '<controller>/create but not '<controller>s/create
2019-02-05 23:08:32 +03:00
fd3eb699d4
Fixes #17094 : Fixed response on 204 status. Now it is empty
2019-02-04 00:10:47 +03:00