uematsusoft
4 weeks ago

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

Posted 4 weeks ago by uematsusoft

Hi.

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.