Skip to content

[Bug] \Cache->exists() returns always bool(false) when DSN is folder #368

@jyri78

Description

@jyri78

I'm working on tiny project and noticed, that caching seems not working. Cache file is created, but later not found anymore.
Looking at Fat-Free Core source I noticed, that in function set() slashes and backshashes will be stripped, but not in exists() and neither clear(). That can lead to bug, when $key contains slashes/backslashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions