Skip to content
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
83fda4b
Merge pull request #1 from yiisoft/master
rhertogh Jul 30, 2015
5231894
Merge branch 'master' of https://github.com/yiisoft/yii2
rhertogh Jan 24, 2020
e388dfc
Merge branch 'master' of https://github.com/yiisoft/yii2
rhertogh Jul 16, 2020
6b56e2c
Merge branch 'master' of https://github.com/yiisoft/yii2
rhertogh Aug 20, 2020
0d8eac2
Proof of concept for respecting the session.use_strict_mode in settin…
rhertogh Aug 20, 2020
6896a92
Respect ini session.use_strict_mode
rhertogh Sep 5, 2020
fcc82c5
Fixed SessionTestTrait when running consecutive tests
rhertogh Sep 5, 2020
4fa0b66
Using session.use_strict_mode to keep track of strict mode status (so…
rhertogh Sep 5, 2020
927f2ae
Merge branch 'master' into respect_ini_session_use_strict_mode
rhertogh Sep 5, 2020
3a8ad23
Added documentation for Respect ini session.use_strict_mode
rhertogh Sep 5, 2020
4b37b14
Support using 'native' session after a custom session handler has bee…
rhertogh Sep 6, 2020
83b9827
Added test to ensure Yii session handler does not interfere with nati…
rhertogh Sep 6, 2020
b0c58cf
Added missing 'since' phpdoc for Session::[set/get]UseStrictMode()
rhertogh Sep 6, 2020
cd8c0e3
Disable session garbage collection when testing (https://www.leaseweb…
rhertogh Sep 6, 2020
002c7e8
Another attempt to solve the "session_start(): ps_files_cleanup_dir: …
rhertogh Sep 6, 2020
8de2a59
Set sessin directory permissions in order to solve the "session_start…
rhertogh Sep 6, 2020
697e2d8
Only set session dir permissions if a sessision.save_path is set. Add…
rhertogh Sep 6, 2020
9093103
Set session directory to github runner temp in order to solve the "se…
rhertogh Sep 6, 2020
4f98235
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Sep 6, 2020
2c8621d
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Sep 6, 2020
0e9e4ab
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Sep 7, 2020
cdef723
Merge branch 'master' of https://github.com/yiisoft/yii2 into respect…
rhertogh Sep 8, 2020
5373ab1
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Sep 11, 2020
574ac5c
Implemented polyfill for Session::$useStrictMode for PHP < 5.5.2
rhertogh Sep 12, 2020
e0f86b1
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Sep 14, 2020
8449ce5
Merge branch 'master' of https://github.com/yiisoft/yii2 into respect…
rhertogh Sep 15, 2020
1956afc
Fixed changelog after upstream merge
rhertogh Sep 15, 2020
cac9cdc
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Sep 21, 2020
7d1e2ed
Merge branch 'master' into respect_ini_session_use_strict_mode
rhertogh Oct 6, 2020
4e48311
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Oct 23, 2020
ec28f9e
Merge branch 'master' into respect_ini_session_use_strict_mode
rhertogh Oct 30, 2020
aab82b9
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Oct 30, 2020
911c10a
Merge branch 'master' into respect_ini_session_use_strict_mode
samdark Oct 31, 2020
9e2241c
Fixed version for session.use_strict_mode in upgrade.md
rhertogh Nov 1, 2020
8841146
Merge branch 'master' of https://github.com/yiisoft/yii2 into respect…
rhertogh Nov 1, 2020
f7f62ce
Fixed version for session.use_strict_mode in upgrade.md (fixed once m…
rhertogh Nov 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions framework/UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ Upgrade from Yii 2.0.38
* The storage structure of the file cache has been changed when you use `\yii\caching\FileCache::$keyPrefix`.
It is worth warming up the cache again if there is a logical dependency when working with the file cache.

Upgrade from Yii 2.0.37
-----------------------

* Resolving DI references inside of arrays in dependencies was made optional and turned off by default. In order
to turn it on, set `resolveArrays` of container instance to `true`.

* `yii\web\Session` now respects the 'session.use_strict_mode' ini directive.
In case you use a custom `Session` class and have overwritten the `Session::openSession()` and/or
`Session::writeSession()` functions changes might be required:
Expand Down Expand Up @@ -96,7 +90,13 @@ Upgrade from Yii 2.0.37
code if those parents implement the `useStrictMode` checks.

> Warning: in case `openSession()` and/or `writeSession()` functions do not implement the `useStrictMode` code
the session could be stored under the forced id without warning even if `useStrictMode` is enabled.
the session could be stored under a malicious id without warning even if `useStrictMode` is enabled.

Upgrade from Yii 2.0.37
-----------------------

* Resolving DI references inside of arrays in dependencies was made optional and turned off by default. In order
to turn it on, set `resolveArrays` of container instance to `true`.

Upgrade from Yii 2.0.36
-----------------------
Expand Down