pdynarowski
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
Nikolay
fd3eb699d4
Fixes #17094 : Fixed response on 204 status. Now it is empty
2019-02-04 00:10:47 +03:00
Carsten Brandt
ed64d65886
release version 2.0.16
2019-01-31 00:54:16 +01:00
Carsten Brandt
1128a6d609
added missing documentation
2019-01-31 00:20:44 +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
Nikolay
a140b2b468
Fixes #16991 : Removed usage of utf8_encode() from Request::resolvePathInfo()
2019-01-03 17:36:16 -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
SilverFire - Dmitry Naumenko
8c72db9b48
Enhanced PHPDocs for IdentityInterface::getAuthKey()
2018-11-25 11:55:49 +02:00
SilverFire - Dmitry Naumenko
1e13bfd13d
Fixed CSRF token check bypassing in Request::getMethod()
2018-11-23 12:55:16 +02:00
Carsten Brandt
c82aedb86d
add a comment to explain why Url::to() is called in Controller::redirect()
...
close #16887
2018-11-14 15:56:03 +01:00
Bizley
ab39246ab5
Fixes #16101 : Fixed Error Handler to clear registered meta tags, link tags, css/js scripts and files in error view
2018-10-27 20:27:58 +03:00
Alexandr Ivanov
0ad5afd387
Fixes #14759 : Fixed yii\web\JsonResponseFormatter output for null data
2018-10-07 16:26:59 +03:00
Alexander Makarov
15dfbb0875
Fixes #16322 : Fixed strings were not were not compared using timing attack resistant approach while CSRF token validation
2018-05-30 22:48:07 +03:00
Rustam Mamadaminov
0d87c339f2
dropped deprecated exception ( #16328 )
2018-05-30 00:13:31 +03:00
Viktor
0b61f9ba3b
Fixes #16301 : Fixed yii\web\User::setIdentity() to clear access check cache while setting identity object to null
2018-05-21 22:19:49 +05:00
Vladimir Reznichenko
6dd2aec011
[minor]: SCA ( #16269 )
...
* Php Inspections (EA Ultimate): minor code tweaks
* Php Inspections (EA Ultimate): code style
* Php Inspections (EA Ultimate): code style
* Php Inspections (EA Ultimate): code style
2018-05-14 12:00:01 +03:00
Ondřej Vašíček
ff83a13d57
Fixes #16068 : Fixed yii\web\CookieCollection::has when an expiration param is set to 'until the browser is closed'
2018-04-30 13:07:36 +03:00
Konstantin
e2627d19fd
Adjusted UploadedFile::getInstance() phpdoc [skip ci]
2018-04-24 15:53:52 +03:00
pgaultier
35ac718110
Fixes #16006 : Handle case when X-Forwarded-Host header have multiple hosts separated with a comma
2018-03-31 16:17:16 +03:00
Vladimir Reznichenko
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
2018-03-12 01:37:19 +03:00
Dmitry Naumenko
5e16c67673
Merge pull request #15797 from kalessil/master
...
[minor] Static code analysis
2018-03-10 15:42:48 +02:00
Alexander Makarov
bf6c9cf443
Fixes #15783 : Regenerate CSRF token only when logging in directly
2018-03-05 02:00:07 +03:00
Vladimir Reznichenko
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:13:22 +01:00
Vladimir Reznichenko
f9b03dfd42
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:06:27 +01:00
bscheshirwork
7473c422ee
Fixes #15318 : Fixed "session_name(): Cannot change session name when session is active" errors
2018-02-24 01:03:27 +03:00
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
Alexander Makarov
d934d9f6f6
Improved phpdoc for ErrorHandler::$traceLine [skip ci]
2018-02-17 21:54:21 +03:00
Carsten Brandt
e493843b1c
improve @deprecated annotations
2018-02-16 11:19:00 +01:00
Carsten Brandt
ef8f6172bb
Added a note about URLManager cache duration
...
https://github.com/yiisoft/yii2/pull/13426#issuecomment-366078957
issue #13426
2018-02-16 04:34:38 +01:00
SilverFire - Dmitry Naumenko
2e8b6e5c80
Added ruleConfig to UrlManager::setBuiltRulesCache() to fix tests
2018-02-16 00:12:14 +02:00
SilverFire - Dmitry Naumenko
9323817a53
Refactored code, added tests
2018-02-15 23:14:52 +02:00
SilverFire - Dmitry Naumenko
a2f9ff8aac
Merge branch 'master' into yuriystovbur-13425-fix-url-rules-cache
2018-02-15 21:52:25 +02:00
Aleksandar Belic
b566dd522c
Fixes #15272 : Removed type attribute from script tag
2018-02-14 13:39:48 +03:00
Alexander Makarov
25f8b263e5
Fixes #14811 : Fixed yii\filters\HttpCache to work with PHP 7.2
2018-02-11 12:08:01 +03:00
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
Alexander Makarov
73fe41ee9f
Removed redundant condition
2018-02-10 12:40:50 +03:00
Alexander Makarov
47e43a1b63
Try reverting init()
2018-02-10 11:50:14 +03:00
Alexander Makarov
d86db78276
Extra checks
2018-02-10 01:39:17 +03:00
Alexander Makarov
7924a22490
Remove extra condition
2018-02-10 01:07:20 +03:00
Alexander Makarov
07e623e415
Don't use open() method because it registers handlers
2018-02-10 00:42:17 +03:00
Alexander Makarov
a23a325ca7
Fixes #15627 : Corrected session freezing/unfreezing not to attempt opening or closing connection if it isn't necessary
2018-02-10 00:06:10 +03:00
Alexander Makarov
64d57043b1
Fixes #11401 : Fixed yii\web\DbSession concurrency issues when writing and regenerating IDs
2018-02-09 03:13:50 +03:00
Brandon Kelly
2e55570e1f
Fixes #15621 : Fixed yii\web\User::getIdentity() returning null if an exception had been thrown when it was called previously
2018-02-09 01:34:33 +03:00
Alexander
24f4e3126a
Bug #15523 : yii\web\Session settings could now be configured after session is started (StalkAlex, rob006, daniel1302, samdark)
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru >
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl >
Co-authored-by: daniel.1302 <daniel.1302@gmail.com >
2018-02-08 20:11:45 +03:00
Гордиенко Владислав Юрьевич
7cafa65ad2
Fixes #15216 : Added yii\web\ErrorHandler::$traceLine to allow opening file at line clicked in IDE
2018-02-07 22:36:29 +03:00
Alexander Makarov
7bafb7bf09
Fixes #14488 : Added support for X-Forwarded-Host to yii\web\Request, fixed getServerPort() usage
2018-02-07 00:01:50 +03:00
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
2018-02-05 04:59:14 +07:00