Closed craigrodway closed 2 years ago
You are very right. I had some issues on Windows and did a pretty global application of DIRECTORY_SEPARATOR
, must have accidentally scooped this one up! Care to send a PR?
No worries, all done! :)
Thanks for that! Quick and clean fix. I'm traveling but will release this bugfix when I'm home.
Hi!
Given the code:
It now produces:
While it does seem to work, and browsers are very forgiving, it's not correct.
I think the issue is here: https://github.com/tattersoftware/codeigniter4-assets/blob/develop/src/Asset.php#L57
This line should probably revert back to a simple '/' value instead of DIRECTORY_SEPARATOR.