Bizley
a6dba47963
Fix #18590 : Fix yii\web\UrlManager to instantiate cache only when it's actually needed
2021-04-10 13:02:23 +03:00
Pigo
14a581562a
Fix #18566 : Throw the original exception when yii\web\Controller::bindInjectedParams() catches HttpException
2021-03-23 21:38:52 +03:00
Alexander Makarov
3883d73cea
Fix #9718 : Fix user staying authorized despite authKey change
2021-03-03 13:18:06 +03:00
Alexander Makarov
50831e6f08
Travis leftovers cleanup
2021-03-03 02:21:39 +03:00
Bizley
d610853fdf
Fix #18450 : Allow empty string to be passed as a nullable typed argument to a controller's action
2021-03-02 14:24:17 +03:00
Bizley
2774f3ea6c
Fix #18529 : Fix asset files path with appendTimestamp option for non-root-relative base URLs
2021-02-27 15:06:08 +03:00
Bizley
03befccd48
Fix #18487 : Allow creating URLs for non-GET-verb rules
2021-01-26 14:47:53 +03:00
Isitar
bceba86952
Fix #18414 : Fix AssetManager::appendTimestamp() not appending timestamp for website root in sub-directory
2020-12-23 12:57:29 +03:00
Rober Díaz
6b33ddf441
Fix #18199 : Fix content body response on 304 HTTP status code, according to RFC 7232
2020-11-23 23:05:04 +03:00
rhertogh
ce088e05df
Fix #18247 : Added support for the 'session.use_strict_mode' ini directive in yii\web\Session
2020-10-31 11:58:34 +03:00
杨晶旭
7ff516063d
Fix #18160 , fix #18192 : Fixed registerFile with argument depends set does not use the position and appendTimestamp argument, also modify the unit view
2020-10-11 15:03:12 +03:00
Walid Said
3dabcdb6ab
Fix #18313 : Fix multipart form data parse with double quotes
2020-10-05 13:08:32 +03:00
Tobias Munk
88e79d3f8e
Fix #18290 : Fix response with non-seekable streams
2020-10-02 11:48:02 +03:00
ErickSkrauch
2e21a8275c
Fix #18115 : Allow to load action-injected services from module's container
2020-06-22 23:49:02 +03:00
Brandon Kelly
fc4f449e21
Fix #18083 : Add Controller::$request and $response
2020-06-14 21:19:27 +03:00
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
2020-06-14 14:20:21 +03:00
Sam
4ea484ca68
Fix #17722 : Add action injection support
2020-06-12 10:06:18 +03:00
Alex
eb7b23d117
Fix #18048 : Use Instance::ensure() to set User::$accessChecker
2020-05-19 18:42:13 +03:00
scottix
975937e531
Fix #18006 : Allow SameSite cookie pre PHP 7.3
2020-05-01 13:28:23 +03:00
Alexander Makarov
65e5640810
Fix #17932 : Fix regression in detection of AJAX requests ( #17937 )
2020-03-26 12:30:56 +03:00
Igor Tarasov
7f88acb313
Fix #17878 : Detect CORS AJAX requests without X-Requested-With in Request::getIsAjax()
2020-03-24 19:01:52 +03:00
Alex
4b6d3c0290
Fix #17929 : Actions can now have bool typed params bound
2020-03-24 18:44:43 +03:00
Yusup Hambali
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
haveyaseen
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
Ather Shu
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
Yusup Hambali
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
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 >
2019-12-17 21:53:55 +03:00
Mikk Tendermann
83055dcc33
Fix #17665 : Implement RFC 7239 Forwarded header parsing in Request
2019-12-12 23:29:54 +03:00
Bizley
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
Brandon Kelly
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
Somogyi Márton
6c1b2db9de
Fix #17434 : IE Ajax redirect fix for non 11.0 versions
2019-11-18 12:45:35 +03:00
AlexRas007
9c5cd51a3b
Fix #17632 : Unicode file name was not correctly parsed in multipart forms
2019-11-05 14:42:22 +03:00
Somogyi Márton
6a2777fc6d
Add Request tests for already resolved IP case #17521 ( #17594 )
2019-10-05 23:54:17 +03:00
Somogyi Márton
9054cdfdcc
Fixes #17521 : Request::getUserHost() and request::getUserIp() ( #17593 )
2019-10-05 22:33:29 +03:00
Somogyi Márton
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
Alexandr Kozhevnikov
96cd8bcb68
Fix #16826 : appendTimestamp support was added to View methods registerCssFile() and registerJsFile()
2019-09-17 14:07:15 +03:00
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)
2019-09-03 17:54:14 +03:00
Alexander Kartavenko
c5397f8784
Closes #16411 . Fix windows tests ( #17380 )
...
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
2019-06-19 16:48:20 +03:00
Alexander Kartavenko
3601d512c2
Fixes #17070 : Strip invalid character from fallback file name
2019-06-12 23:41:40 +03:00
lubosdz
8bb334b9ae
Fixes #9438 , #13740 , #15037 : Handle DB session callback custom fields before session closed
2019-03-09 15:54:39 +03:00
Nikolay Poryadin
fc98a95a90
Fixes #17185 : Fixed AssetManager timestamp appending when a file is published manually
2019-03-05 18:11:27 +03:00
Mikk Tendermann
81f7d381e5
Fixes #17180 : Do not populate yii\web\Response::$response when response code is 204
2019-03-05 12:34:40 +03:00
Nikolay
fd3eb699d4
Fixes #17094 : Fixed response on 204 status. Now it is empty
2019-02-04 00:10:47 +03:00
Carsten Brandt
6fe809ea26
added test case for checking BC of #16772 and #14759
2019-01-30 23:59:09 +01:00
SilverFire - Dmitry Naumenko
e4eaccc14d
Merge branch 'security'
2019-01-28 22:50:38 +02:00
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
2019-01-18 06:06:08 -05:00
SilverFire - Dmitry Naumenko
659b3d4b77
Fixing DB session override problems
...
See #16959
2019-01-15 12:42:13 +02:00
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.
2019-01-02 18:45:40 -05:00
Andrew
572e5f6655
Fixes #15850 : check basePath is writable on publish in AssetManager
2018-12-16 01:54:00 +03:00
Andrew
3221ab0769
Fix #15683 : Fix file as array uploading in MultipartFormDataParser ( #16950 )
2018-12-10 11:49:36 +03:00