7 months ago

Error with open_basedir and translation strings containing "?" on windows

Posted 7 months ago by uematsusoft


I get an exception (Laravel, OctoberCMS) when a translation string contains "?" character like in "Forgot your password?" and PHP open_basedir is active on a Windows computer.

I know that it is a "feature" in Windows related to access paths containing wildcards. Anyone have a solution to prevent this behaviour while keeping the open_basedir active? It is only a dev machine so I can tweak it.

Exception on OctoberCMS System update page

file_exists(): open_basedir restriction in effect. File(D:\code\site/lang/pt-pt/https://github.php) is not within the allowed path(s): (d:\code)

Thank you in advance.

Best regards, Domingos

Please sign in or create an account to participate in this conversation.