mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
677 B
677 B
3.0.4
Overview
- Changed
dev/tests/setdb
anddev/tests/startsession
from session to cookie storage. - Require ADMIN permissions for
?showtemplate=1
Details
Require ADMIN permissions for ?showtemplate=1
Avoids information leakage of compiled template data, which might expose some of the internal template logic.
Upgrading
- If you are using
dev/tests/setdb
anddev/tests/startsession
, you'll need to configure a secure token in order to encrypt the cookie value: Simply runsake dev/generatesecuretoken
and add the resulting code to yourmysite/_config.php
. Note that this functionality now requires the PHPmcrypt
extension.