Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$broswerRestrictFolders doesn't work if folder name contains a space #291

Open
TechnoSwiss opened this issue Nov 16, 2021 · 0 comments
Open

Comments

@TechnoSwiss
Copy link

var $browserRestrictFolders = array('/storage/Virtualbox VMs','/storage');

The first path in the configuration file will not show any sub-folders, the second path shows all sub-folders, including those under '/storage/Virtualbox VMs'. It appears the issue is only if the path contains a space, that RestrictFolder option doesn't work.

virtualbox 6.1, phpvirtualbox installed with https://github.com/phpvirtualbox/phpvirtualbox/tree/develop/packaging/install-scripts using the development option

Things I've tried to get around it (all result in same issue, inability to show sub-folders):
array('/storage/Virtualbox\ VMs')
array(''/storage/Virtualbox VMs'')
array('"/storage/Virtualbox VMs"')
array(''/storage/Virtualbox VMs'')
array('/storage/Virtualbox VMs')

symbolic link /tmp/VMs -> /storage/Virtualbox\ VMs
array('/tmp/VMs')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant