Edex-ui: `cd` does not respect directories with spaces

Created on 20 Nov 2018  路  6Comments  路  Source: GitSquared/edex-ui

When clicking on a directory icon in the file browser, the created cd command does not add backslashes or otherwise escape spaces in directories that have spaces in their names. My guess is this may also extend to directories with other special characters as well.

bug confirmed

All 6 comments

It sounds like the program needs to add quotations to all paths before trying to enter them in cd.

Yup, can confirm i didn't plan for this. Will publish a fix soon.

Thanks for the report.

This does extend to other characters, and in fact you can abuse this bug by naming directories things like thing || rm -rf /.

@dvdmuckle I published a temporary fix, but I'll try to make a more advanced function to escape directories & file names properly. Will mention this issue when this gets pushed.

Tested, works properly. Thanks for the quick response!

You're welcome. I'll make a release tomorrow to bundle a bunch of day-1 fixes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

creativenoobie picture creativenoobie  路  6Comments

bdgza picture bdgza  路  3Comments

GitSquared picture GitSquared  路  6Comments

jwulf picture jwulf  路  5Comments

tztl0 picture tztl0  路  4Comments