Skip to content

Cannot create cache on Windows machine on non-standard ports #286

@ylorant

Description

@ylorant

Hey there,

This morning, I tried to set up remote debbuging tools for Chrome to debug my phone, and with that, I set up port forwarding to my phone on the 8080 port. And then, I got an error from PHPFastCache that couldn't create its cache folder named "localhost:8080" (using the files driver obviously). Indeed since I am on Windows, I can't create folders nor files with colons in them.

I think a quick and easy fix for this would be to substitute the ":" for an underscore "_" in the folder name (since it isn't used in domain names and it's allowed in file names everywhere).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions