- Issue created by @spalmstrom
- Merge request !9787Resolve issue 3479427 - bootstrap barrio issue under Windows β (Open) created by spalmstrom
- π³πΏNew Zealand quietone
@spalmstrom, thanks for creating the MR. Unfortunately, it is still very large and not ready for review.
- π¬π§United Kingdom spalmstrom
This issue related to the attempted creation of files in Windows with illegal names. Hence, it might well apply in a WAMP environment, too, i.e. running Apache, not just IIS.
- Status changed to Needs work
10 days ago 3:36am 9 December 2024 - πΊπΈUnited States DanChadwick
This is broader than the original report. I use apache (WAMP server) on windows and Radix version 6, which also has colons in template names.
I think the sensitization could be done regardless of platform for simplicity.
- πΊπΈUnited States DanChadwick
I edited the issue to broaden it to its true scope: You can't use Single Directory Components and Windows together. The generated twig php files contains a colon.
Bumping priority to Major since if you're hosting on windows, you can't use any theme that uses SDC.
- πΊπΈUnited States DanChadwick
Here's a simple solution. When generating cache keys for twig templates, there is already code which makes exceptions to avoid illegal characters and other code while avoids windows file name limitations. Simply replace colons with underscores when generating the cache key.
I'm providing a patch on D10.3, but I suspect it will apply to 11.x.