rhertogh
ce088e05df
Fix #18247 : Added support for the 'session.use_strict_mode' ini directive in `yii\web\Session`
4 years ago
杨晶旭
7ff516063d
Fix #18160 , fix #18192 : Fixed `registerFile` with argument depends set does not use the position and appendTimestamp argument, also modify the unit view
4 years ago
Walid Said
3dabcdb6ab
Fix #18313 : Fix multipart form data parse with double quotes
4 years ago
Tobias Munk
88e79d3f8e
Fix #18290 : Fix response with non-seekable streams
4 years ago
ErickSkrauch
2e21a8275c
Fix #18115 : Allow to load action-injected services from module's container
4 years ago
Brandon Kelly
fc4f449e21
Fix #18083 : Add `Controller::$request` and `$response`
4 years ago
DarkDef
d317e41b21
Fix #18101 : Fix behavior of OUTPUT INSERTED.* for SQL Server query: "insert default values"; correct MSSQL unit tests; turn off profiling echo message in migration test
4 years ago
Sam
4ea484ca68
Fix #17722 : Add action injection support
4 years ago
Alex
eb7b23d117
Fix #18048 : Use `Instance::ensure()` to set `User::$accessChecker`
4 years ago
scottix
975937e531
Fix #18006 : Allow SameSite cookie pre PHP 7.3
4 years ago
Alexander Makarov
65e5640810
Fix #17932 : Fix regression in detection of AJAX requests ( #17937 )
5 years ago
Igor Tarasov
7f88acb313
Fix #17878 : Detect CORS AJAX requests without `X-Requested-With` in `Request::getIsAjax()`
5 years ago
Alex
4b6d3c0290
Fix #17929 : Actions can now have bool typed params bound
5 years ago
Yusup Hambali
55793471ea
Fix #17875 : Revert `move_uploaded_file()` function instead of `copy()` and `unlink()` for saving uploaded files when POST request
5 years ago
haveyaseen
82b7ecbdf3
Fix #17828 : Fix `yii\web\UploadedFile::saveAs()` failing when error value in `$_FILES` entry is a string
5 years ago
Ather Shu
038ce9f77e
Fix #17755 : Fix a bug for web request with `trustedHosts` set to format `['10.0.0.1' => ['X-Forwarded-For']]`
5 years ago
Yusup Hambali
cf0e56907f
Fix #17037 , Fix #17729 : Fix uploaded file saving for multipart forms, add path alias support for UploadFile::saveAs()
5 years ago
Somogyi Márton
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>
5 years ago
Mikk Tendermann
83055dcc33
Fix #17665 : Implement RFC 7239 `Forwarded` header parsing in Request
5 years ago
Bizley
1a8c83ba43
Fix #17694 : Fixed Error Handler to clear registered view tags, scripts, and files when rendering error view through action view
5 years ago
Brandon Kelly
40797c1139
Fix #17701 : Throw `BadRequetHttpException` when request params can’t be bound to `bool`, `int`, and `float` controller action arguments
5 years ago
Somogyi Márton
6c1b2db9de
Fix #17434 : IE Ajax redirect fix for non 11.0 versions
5 years ago
AlexRas007
9c5cd51a3b
Fix #17632 : Unicode file name was not correctly parsed in multipart forms
5 years ago
Somogyi Márton
6a2777fc6d
Add Request tests for already resolved IP case #17521 ( #17594 )
5 years ago
Somogyi Márton
9054cdfdcc
Fixes #17521 : Request::getUserHost() and request::getUserIp() ( #17593 )
5 years ago
Somogyi Márton
c87855b31c
Fix #17573 : `Request::getUserIP()` security fix for the case when `Request::$trustedHost` and `Request::$ipHeaders` are used
5 years ago
Alexandr Kozhevnikov
96cd8bcb68
Fix #16826 : `appendTimestamp` support was added to `View` methods `registerCssFile()` and `registerJsFile()`
5 years ago
Somogyi Márton
10a069a3a4
Fix #17434 : Fixed Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (`XMLHttpRequest: Network Error 0x800c0008`)
5 years ago
Alexander Kartavenko
c5397f8784
Closes #16411 . Fix windows tests ( #17380 )
...
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
5 years ago
Alexander Kartavenko
3601d512c2
Fixes #17070 : Strip invalid character from fallback file name
5 years ago
lubosdz
8bb334b9ae
Fixes #9438 , #13740 , #15037 : Handle DB session callback custom fields before session closed
6 years ago
Nikolay Poryadin
fc98a95a90
Fixes #17185 : Fixed `AssetManager` timestamp appending when a file is published manually
6 years ago
Mikk Tendermann
81f7d381e5
Fixes #17180 : Do not populate `yii\web\Response::$response` when response code is 204
6 years ago
Nikolay
fd3eb699d4
Fixes #17094 : Fixed response on 204 status. Now it is empty
6 years ago
Carsten Brandt
6fe809ea26
added test case for checking BC of #16772 and #14759
6 years ago
Vladimir Votinov
3c091b802a
When uses filter \yii\filters\PageCache, then yii\web\JsonResponseFor… ( #17044 )
...
* When uses filter \yii\filters\PageCache, then yii\web\JsonResponseFormatter sets Response::$content as null, howerer \yii\filter\PageCache has been restore content
6 years ago
SilverFire - Dmitry Naumenko
659b3d4b77
Fixing DB session override problems
...
See #16959
6 years ago
Pavel Ivanov
966f262016
Fixes AssetBundleTest for vagrant ENV ( #17003 )
...
1. There is no need to use setUp/tearDown just for one TestCase method.
2. Previous implementation of testBasePathIsWritableOnPublish() doesn't work in vagrant environment using shared files because of unreliable chmod.
So, this implementation is more versatile and optimized.
6 years ago
Andrew
572e5f6655
Fixes #15850 : check basePath is writable on publish in AssetManager
6 years ago
Andrew
3221ab0769
Fix #15683 : Fix file as array uploading in MultipartFormDataParser ( #16950 )
6 years ago
SilverFire - Dmitry Naumenko
1e13bfd13d
Fixed CSRF token check bypassing in Request::getMethod()
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Bizley
ab39246ab5
Fixes #16101 : Fixed Error Handler to clear registered meta tags, link tags, css/js scripts and files in error view
6 years ago
Alexandr Ivanov
0ad5afd387
Fixes #14759 : Fixed `yii\web\JsonResponseFormatter` output for `null` data
6 years ago
Carsten Brandt
d0712e4918
added tests to verify issue #16484
...
the case is to match all module names before a catch-all URL rule.
module routes should work with "module name only", "module
name+controller name" and "module/controller/action".
6 years ago
Viktor
0b61f9ba3b
Fixes #16301 : Fixed `yii\web\User::setIdentity()` to clear access check cache while setting identity object to `null`
6 years ago
pgaultier
35ac718110
Fixes #16006 : Handle case when `X-Forwarded-Host` header have multiple hosts separated with a comma
7 years ago
bscheshirwork
7473c422ee
Fixes #15318 : Fixed "session_name(): Cannot change session name when session is active" errors
7 years ago
Benoît
517a5ad93c
Add tests
7 years ago
SilverFire - Dmitry Naumenko
9323817a53
Refactored code, added tests
7 years ago