Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
cache system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Sep 2015 at 15:48 UTC
Updated:
27 Oct 2016 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
znerol commentedComment #4
znerol commented0 bytes patch :/
Comment #5
berdirShould we write a unit test for this? Can we?
Comment #6
znerol commentedInterdiff is test-only patch.
Comment #11
znerol commentedComment #16
wim leersThis looks great!
Nit: should use
assertFalse().Comment #17
wim leersHowever, this is a task, not a bug. Everything works fine, this is just security hardening, which is an improvement.
Comment #18
znerol commentedNope, that would be wrong. We need strict comparison in combination with
strpos.Comment #19
wim leersYou're right. Man I hate our incredibly confusing assertion function names. They so often don't do what you expect.
Comment #20
alexpottCommitted c3b3ec1 and pushed to 8.3.x. Thanks!
Fixed on commit.
Comment #22
alexpottAfter discussing with @catch we decided to backport this as bugfix to 8.2.x since it is "not working as well as it could". Committed 9025843 and pushed to 8.2.x. Thanks!