Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Apr 2014 at 16:02 UTC
Updated:
25 Nov 2014 at 13:58 UTC
Jump to comment: Most recent
Comments
Comment #1
damiankloip commentedComment #2
sunThis is a security issue.
Even if the answer is a formal policy change of "You have to rebuild the container AND flush all caches after changing settings.php."
Comment #3
olli commentedDo we need something similar for
$databases#2252033: Don't serialize database connection info?Comment #4
alexpottI think that #2199795: Make the Settings class prevent serialization of actual settings is proper fix for this. We need to prevent a serialisation of Settings using stale values and that issue achieves this.
Comment #5
dawehnerI wonder whether moving most of these parameters into the container causes an issue here? I would argue that the situation
is much better because you actually inject the "raw" value in there.
Comment #6
catchMarking duplicate of
#2251795: Injected Settings may be serialized + unserialized later, not reflecting current settings.php values#2199795: Make the Settings class prevent serialization of actual settings.I think container parameters are OK and less of a problem - it's obvious you have to do a container rebuild if you change a container parameter.