Closed (fixed)
Project:
File Cache
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Dec 2021 at 10:10 UTC
Updated:
8 May 2026 at 13:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stijnstroobantsComment #3
stijnstroobantsComment #4
pfrenssenThis is in principle a bug in the calling code, but since the core interface
CacheBackendInterface::delete()only documents that$cidshould be a string but does not enforce the type I think it is OK for us to harden this code so the request doesn't crash.Comment #5
pfrenssenComment #8
pfrenssenThanks for the report. I implemented the hardening on all methods that implement the public interface and have a
$cidargument. Since this is indicative of a bug in calling code I made sure to emit an error in the logs including a backtrace so the bug can be discovered and fixed by the developer.Comment #9
pfrenssen